public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rsgain] rawhide: Use unbundled crcpp.
@ 2026-06-02 12:51 Peter Oliver
  0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-06-02 12:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rsgain
Branch : rawhide
Commit : cda14585921bcda0652486abb33ddc0189f0c74f
Author : Peter Oliver <git@mavit.org.uk>
Date   : 2026-06-02T13:50:53+01:00
Stats  : +6/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rsgain/c/cda14585921bcda0652486abb33ddc0189f0c74f?branch=rawhide

Log:
Use unbundled crcpp.

---
diff --git a/rsgain.spec b/rsgain.spec
index 76effe0..1852b1b 100644
--- a/rsgain.spec
+++ b/rsgain.spec
@@ -13,6 +13,7 @@ Source0:        %{forgesource}
 License:        BSD-2-Clause AND BSD-3-Clause
 
 BuildRequires:  cmake
+BuildRequires:  crcpp-devel
 BuildRequires:  gcc-c++
 BuildRequires:  inih-devel
 BuildRequires:  libavcodec-free-devel
@@ -22,8 +23,6 @@ BuildRequires:  libebur128-devel
 BuildRequires:  libswresample-free-devel
 BuildRequires:  taglib-devel
 
-Provides:       bundled(CRCpp) = 1.2.0.0^20220528git71f2152
-
 %description
 rsgain (really simple gain) is a ReplayGain 2.0 command line utility.
 It applies loudness metadata tags to your files, while leaving the audio
@@ -34,6 +33,11 @@ the volume of your tagged files during playback.
 %prep
 %forgeautosetup
 
+# Use unbundled crcpp:
+sed -i -e 's|^#include "external/CRC.h"|#include <CRC.h>|' src/tag.cpp
+rm src/external/CRC.h
+cp %{_defaultlicensedir}/crcpp-devel/LICENSE LICENSE-CRCpp
+
 
 %build
 %cmake -DUSE_STD_FORMAT=ON -DINSTALL_MANPAGE=ON

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

only message in thread, other threads:[~2026-06-02 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-02 12:51 [rpms/rsgain] rawhide: Use unbundled crcpp Peter Oliver

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