public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mingw-filesystem] rawhide: Fix setting CMAKE_RC_COMPILER (#2507374)
@ 2026-07-29 8:04 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-07-29 8:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mingw-filesystem
Branch : rawhide
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=rawhide
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()
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 8:04 [rpms/mingw-filesystem] rawhide: Fix setting CMAKE_RC_COMPILER (#2507374) Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox