public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/4diac-forte] rawhide: fix F45FTBFS
@ 2026-07-16  2:57 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-16  2:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/4diac-forte
            Branch : rawhide
            Commit : aadfec984e702febabba8c79dd3fa8f6a33c75ca
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-07-15T23:57:10-03:00
            Stats  : +5/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/4diac-forte/c/aadfec984e702febabba8c79dd3fa8f6a33c75ca?branch=rawhide

            Log:
            fix F45FTBFS

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/4diac-forte.spec b/4diac-forte.spec
index dca06fb..a3d5ebe 100644
--- a/4diac-forte.spec
+++ b/4diac-forte.spec
@@ -1,6 +1,3 @@
-# Force out of source build
-%undefine __cmake_in_source_build
-
 %global with_sysfs 1
 %global with_opcua 0
 %global with_paho 1
@@ -57,7 +54,8 @@ online-reconfiguration of its applications and the real-time capable
 execution of all function block types provided by the IEC 61499 standard.
 
 %prep
-%setup -q -n org.eclipse.4diac.forte-%{version}
+%autosetup -p1 -n org.eclipse.4diac.forte-%{version}
+sed -i 's/CMAKE_MINIMUM_REQUIRED(VERSION 2.6)/CMAKE_MINIMUM_REQUIRED(VERSION 3.5)/' CMakeLists.txt
 
 %build
 %cmake -DFORTE_ARCHITECTURE=Posix \
@@ -92,10 +90,10 @@ execution of all function block types provided by the IEC 61499 standard.
 
 %install
 mkdir -p %{buildroot}%{_unitdir}
-install -p systemd/4diac-forte.service %{buildroot}%{_unitdir}
+install -p -m 644 systemd/4diac-forte.service %{buildroot}%{_unitdir}
 
 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
-install -p systemd/4diac-forte-sysconfig %{buildroot}%{_sysconfdir}/sysconfig/4diac-forte
+install -p -m 644 systemd/4diac-forte-sysconfig %{buildroot}%{_sysconfdir}/sysconfig/4diac-forte
 
 %cmake_install
 
@@ -109,6 +107,7 @@ install -p systemd/4diac-forte-sysconfig %{buildroot}%{_sysconfdir}/sysconfig/4d
 %systemd_postun_with_restart 4diac-forte.service
 
 %files
+%doc README.md
 %license epl-2.0.html
 %{_bindir}/forte
 %{_unitdir}/4diac-forte.service

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

only message in thread, other threads:[~2026-07-16  2:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16  2:57 [rpms/4diac-forte] rawhide: fix F45FTBFS Filipe Rosset

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