public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/clpeak] rawhide: removed the ugly hack used in 2.0.14, updated to 2.0.15
@ 2026-06-25 15:11 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-25 15:11 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/clpeak
            Branch : rawhide
            Commit : 51881fd35e79d2ae002ea40cef2ccd3e737edde9
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-25T12:10:52-03:00
            Stats  : +2/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/clpeak/c/51881fd35e79d2ae002ea40cef2ccd3e737edde9?branch=rawhide

            Log:
            removed the ugly hack used in 2.0.14, updated to 2.0.15

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/clpeak.spec b/clpeak.spec
index b48747b..50baa0a 100644
--- a/clpeak.spec
+++ b/clpeak.spec
@@ -34,11 +34,6 @@ numbers.
 %prep
 %autosetup
 
-# Starting with clpeak-2.0.14 below ugly hacks are needed to fix install paths
-# Fix incorrect installation paths in upstream CMakeLists.txt
-sed -i 's/RUNTIME DESTINATION ./RUNTIME DESTINATION bin/' CMakeLists.txt
-# Remove upstream license installation to avoid installing to /usr/LICENSE
-sed -i '/install(FILES LICENSE DESTINATION .)/d' CMakeLists.txt
 
 %build
 %cmake
@@ -47,7 +42,8 @@ sed -i '/install(FILES LICENSE DESTINATION .)/d' CMakeLists.txt
 
 %install
 %cmake_install
-
+# Remove the duplicate license file installed by CMake to standard datadir
+rm -rf %{buildroot}%{_datadir}/clpeak
 
 %check
 %ctest

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

only message in thread, other threads:[~2026-06-25 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 15:11 [rpms/clpeak] rawhide: removed the ugly hack used in 2.0.14, updated to 2.0.15 Filipe Rosset

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