public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-filesystem] f43: Fix setting CMAKE_RC_COMPILER (#2507374)
Date: Wed, 29 Jul 2026 08:04:20 GMT	[thread overview]
Message-ID: <178531226009.1.9547413421816633682.rpms-mingw-filesystem-a812a9bbd96c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mingw-filesystem
Branch : f43
Commit : a812a9bbd96cac498d3d8321b79e635074468156
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-07-29T10:03:58+02:00
Stats  : +8/-5 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/mingw-filesystem/c/a812a9bbd96cac498d3d8321b79e635074468156?branch=f43

Log:
Fix setting CMAKE_RC_COMPILER (#2507374)

---
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index 13e75a5..547725b 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -9,8 +9,8 @@
 %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
 
 Name:           mingw-filesystem
-Version:        151
-Release:        2%{?dist}
+Version:        152
+Release:        1%{?dist}
 Summary:        MinGW cross compiler base filesystem and environment
 
 License:        GPL-2.0-or-later
@@ -381,6 +381,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32ucrt-p
 %dir %{_prefix}/lib/debug/%{_prefix}/x86_64-w64-mingw32ucrt
 
 %changelog
+* Wed Jul 29 2026 Sandro Mani <manisandro@gmail.com> - 152-1
+- Fix setting CMAKE_RC_COMPILER (#2507374)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 151-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/toolchain-mingw32.cmake b/toolchain-mingw32.cmake
index 0c99d63..8c2ebcf 100644
--- a/toolchain-mingw32.cmake
+++ b/toolchain-mingw32.cmake
@@ -26,7 +26,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
 SET(QT_BINARY_DIR /usr/i686-w64-mingw32/bin /usr/bin)
 
 # set the resource compiler (RHBZ #652435)
-IF(NOT $ENV{RC})
+IF(NOT DEFINED ENV{RC})
     SET(CMAKE_RC_COMPILER /usr/bin/i686-w64-mingw32-windres)
 ENDIF()
 

diff --git a/toolchain-mingw64.cmake b/toolchain-mingw64.cmake
index 9885222..eb51848 100644
--- a/toolchain-mingw64.cmake
+++ b/toolchain-mingw64.cmake
@@ -26,7 +26,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
 SET(QT_BINARY_DIR /usr/x86_64-w64-mingw32/bin /usr/bin)
 
 # set the resource compiler (RHBZ #652435)
-IF(NOT $ENV{RC})
+IF(NOT DEFINED ENV{RC})
     SET(CMAKE_RC_COMPILER /usr/bin/x86_64-w64-mingw32-windres)
 ENDIF()
 

diff --git a/toolchain-ucrt64.cmake b/toolchain-ucrt64.cmake
index a042c53..5555662 100644
--- a/toolchain-ucrt64.cmake
+++ b/toolchain-ucrt64.cmake
@@ -25,7 +25,7 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
 SET(QT_BINARY_DIR /usr/x86_64-w64-mingw32ucrt/bin /usr/bin)
 
 # set the resource compiler (RHBZ #652435)
-IF(NOT $ENV{RC})
+IF(NOT DEFINED ENV{RC})
     SET(CMAKE_RC_COMPILER /usr/bin/x86_64-w64-mingw32ucrt-windres)
 ENDIF()
 

                 reply	other threads:[~2026-07-29  8:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178531226009.1.9547413421816633682.rpms-mingw-filesystem-a812a9bbd96c@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox