public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/libbs2b] rawhide: some spec improvements; no need to trigger new release on this, let it be ready for the future
Date: Tue, 22 Sep 2026 17:57:32 GMT	[thread overview]
Message-ID: <179009985289.1.13412135623178181359.rpms-libbs2b-f8321fe1ddd7@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-22 17:57 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=179009985289.1.13412135623178181359.rpms-libbs2b-f8321fe1ddd7@fedoraproject.org \
    --to=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