public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/smokegen] rawhide: - Fix rhbz#2381451, FTBFS with change proposal CMake 4.0
@ 2026-08-11  8:35 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-11  8:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/smokegen
            Branch : rawhide
            Commit : 8ef8a749d80cc95c7114061156cd1072ef91649a
            Author : Than Ngo <than@redhat.com>
            Date   : 2026-08-11T10:35:20+02:00
            Stats  : +11/-8 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/smokegen/c/8ef8a749d80cc95c7114061156cd1072ef91649a?branch=rawhide

            Log:
            - Fix rhbz#2381451, FTBFS with change proposal CMake 4.0
- Fix rhbz#2381128, FTBFS with change proposal CMake: Use ninja generator by default
- Fix rhbz#2381525, FTBFS with change proposal CMake drop non-standard variables
- Fix rhbz#2504679, FTBFS in Fedora rawhide/f45

---
diff --git a/smokegen.spec b/smokegen.spec
index aba5a2f..c1e8979 100644
--- a/smokegen.spec
+++ b/smokegen.spec
@@ -2,7 +2,7 @@
 
 Name: smokegen
 Version: 4.14.3
-Release: 29%{?dist}
+Release: 30%{?dist}
 Summary: Smoke Generator
 
 # Automatically converted from old format: LGPLv2 and GPLv2+ - review is highly recommended.
@@ -19,6 +19,7 @@ Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar
 BuildRequires: make
 BuildRequires: cmake >= 2.8.8
 BuildRequires: pkgconfig(QtCore) pkgconfig(QtXml) 
+BuildRequires: automoc >= 1.0-0.55.rc3
 
 Conflicts: kdebindings < 4.7.0
 
@@ -41,16 +42,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
 
 
 %build
-mkdir %{_target_platform}
-pushd %{_target_platform}
-%{cmake} ..
-popd
-
-make %{?_smp_mflags} -C %{_target_platform}
+%{cmake} -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+%cmake_build
 
 
 %install
-make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+%cmake_install
 
 
 %ldconfig_scriptlets
@@ -73,6 +70,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 
 %changelog
+* Tue Aug 11 2026 Than Ngo <than@redhat.com> - 4.14.3-30
+- Fix rhbz#2381451, FTBFS with change proposal CMake 4.0
+- Fix rhbz#2381128, FTBFS with change proposal CMake: Use ninja generator by default
+- Fix rhbz#2381525, FTBFS with change proposal CMake drop non-standard variables
+- Fix rhbz#2504679, FTBFS in Fedora rawhide/f45
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.3-29
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11  8:35 [rpms/smokegen] rawhide: - Fix rhbz#2381451, FTBFS with change proposal CMake 4.0 Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox