public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libbs2b] rawhide: some spec improvements; no need to trigger new release on this, let it be ready for the future
@ 2026-09-22 17:57
0 siblings, 0 replies; only message in thread
From: @ 2026-09-22 17:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libbs2b
Branch : rawhide
Commit : f8321fe1ddd71f7d23f745e9a04ac5c9b2125040
Author : Karel Volný <kvolny@redhat.com>
Date : 2026-09-22T19:56:46+02:00
Stats : +7/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libbs2b/c/f8321fe1ddd71f7d23f745e9a04ac5c9b2125040?branch=rawhide
Log:
some spec improvements; no need to trigger new release on this, let it be ready for the future
---
diff --git a/libbs2b.spec b/libbs2b.spec
index 44e9b08..a1a06d7 100644
--- a/libbs2b.spec
+++ b/libbs2b.spec
@@ -12,7 +12,7 @@ Patch1: libbs2b-dont-clip-samples.patch
BuildRequires: gcc-c++
BuildRequires: autoconf automake libtool
BuildRequires: libsndfile-devel
-BuildRequires: make
+BuildRequires: make
# the dependency (required for bs2bconvert) gets added automatically
#Requires: libsndfile
@@ -35,9 +35,7 @@ stereophonic-to-binaural (bs2b) DSP effect library.
%prep
-%setup -q
-%patch -P0 -p1
-%patch -P1 -p1
+%autosetup -p1
# automake 1.12 removes support for lzma, it has been replaced by xz
# it is safe to substitute xz for lzma to get rid of autoreconf errors,
@@ -52,7 +50,7 @@ autoreconf -vif
# https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags} V=1
+%make_build
%install
@@ -61,7 +59,8 @@ rm %{buildroot}/%{_libdir}/%{name}.la
%files
-%doc AUTHORS COPYING ChangeLog README
+%doc AUTHORS ChangeLog README
+%license COPYING
%{_bindir}/*
%{_libdir}/%{name}.so.*
@@ -78,6 +77,8 @@ rm %{buildroot}/%{_libdir}/%{name}.la
%changelog
* Tue Sep 22 2026 Karel Volný <kvolny@redhat.com> 3.1.0-39
- add patch not to clip floating point samples (rhbz#2261991)
+- use %%autosetup for patching and %%make_build
+- mark COPYING as %%license
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-38
- 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-09-22 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22 17:57 [rpms/libbs2b] rawhide: some spec improvements; no need to trigger new release on this, let it be ready for the future
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox