public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/clpeak] rawhide: removed the ugly hack used in 2.0.14, updated to 2.0.15
Date: Thu, 25 Jun 2026 15:11:03 GMT	[thread overview]
Message-ID: <178240026394.1.2763224900030084849.rpms-clpeak-51881fd35e79@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-25 15:11 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=178240026394.1.2763224900030084849.rpms-clpeak-51881fd35e79@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --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