[alsa-firmware] fix ftbfs, update spec

Peter Robinson pbrobinson at fedoraproject.org
Tue Jun 17 10:58:22 UTC 2014


commit 0e4783660fc759c97e56bda8d4c568f4eb7e1cb5
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Jun 17 11:58:10 2014 +0100

    fix ftbfs, update spec

 alsa-firmware.spec |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/alsa-firmware.spec b/alsa-firmware.spec
index b4deb34..f74c66f 100644
--- a/alsa-firmware.spec
+++ b/alsa-firmware.spec
@@ -5,17 +5,16 @@
 Summary:        Firmware for several ALSA-supported sound cards
 Name:           alsa-firmware
 Version:        1.0.27
-Release:        4%{?dist}
+Release:        5%{?dist}
 # See later in the spec for a breakdown of licensing
 License:        GPL+ and BSD and GPLv2+ and GPLv2 and LGPLv2+
 Group:          Applications/Multimedia
 URL:            http://www.alsa-project.org/
-Source:	        ftp://ftp.alsa-project.org/pub/firmware/%{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source:         ftp://ftp.alsa-project.org/pub/firmware/%{name}-%{version}.tar.bz2
+
 Requires:       alsa-tools-firmware >= %{version}
-Requires:       udev
-BuildRequires:  automake
-BuildRequires:  autoconf
+Requires:       systemd
+BuildRequires:  libtool autoconf automake
 
 # noarch, since the package is firmware
 BuildArch:      noarch
@@ -46,9 +45,7 @@ the alsa-tools-firmware package.
 sed -i s#'multisound/Makefile \\'## configure.in
 sed -i s#multisound## Makefile.am
 
-%__aclocal
-%__automake
-%__autoconf
+autoreconf -vif
 %configure --disable-loader
 make %{?_smp_mflags}
 
@@ -62,15 +59,10 @@ mv aica/Dreamcast_sound.txt aica_dreamcast_sound.txt
 mv ca0132/creative.txt LICENSE.creative_txt
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=%{buildroot}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
-%defattr(-,root,root,-)
 %doc COPYING README* LICENSE*
 %doc aica_dreamcast_sound.txt
 
@@ -200,6 +192,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jun 17 2014 Peter Robinson <pbrobinson at fedoraproject.org> 1.0.27-5
+- Fix FTBFS once more with feeling
+- Update spec
+
 * Sun Jun 15 2014 Tim Jackson <rpm at timj.co.uk> - 1.0.27-4
 - Fix FTBFS (rhbz#1105946)
 


More information about the scm-commits mailing list