Run 'autoreconf -ifv' before %configure

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2020-10-05 08:22:30 -04:00
parent 711e79f497
commit 0e6c04f216
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -1,7 +1,7 @@
Summary: Compact Disc Digital Audio (CDDA) extraction tool (or ripper) Summary: Compact Disc Digital Audio (CDDA) extraction tool (or ripper)
Name: cdparanoia Name: cdparanoia
Version: 10.2 Version: 10.2
Release: 33%{?dist} Release: 34%{?dist}
# the app is GPLv2, everything else is LGPLv2 # the app is GPLv2, everything else is LGPLv2
License: GPLv2 and LGPLv2 License: GPLv2 and LGPLv2
URL: http://www.xiph.org/paranoia/index.html URL: http://www.xiph.org/paranoia/index.html
@ -21,7 +21,10 @@ Patch5: cdparanoia-10.2-ldflags.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc BuildRequires: gcc
%description BuildRequires: autoconf
BuildRequires: automake
%description
Cdparanoia (Paranoia III) reads digital audio directly from a CD, then Cdparanoia (Paranoia III) reads digital audio directly from a CD, then
writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear
PCM format. Cdparanoia doesn't contain any extra features (like the ones PCM format. Cdparanoia doesn't contain any extra features (like the ones
@ -70,6 +73,7 @@ for developing applications to read CD Digital Audio disks.
cp /usr/lib/rpm/redhat/config.* . cp /usr/lib/rpm/redhat/config.* .
%build %build
autoreconf -ifv
%configure --includedir=%{_includedir}/cdda %configure --includedir=%{_includedir}/cdda
# Also remove many warnings which we are aware of # Also remove many warnings which we are aware of
# Lastly, don't use _smp_mflags since it also makes the build fail # Lastly, don't use _smp_mflags since it also makes the build fail
@ -97,6 +101,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Mon Oct 05 2020 Stephen Gallagher <sgallagh@redhat.com> - 10.2-34
- Fix build on Fedora 33+
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-33 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-33
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild