Accepting request 82720 from home:jengelh:bl-a

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82720
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-firmware?expand=0&rev=11
This commit is contained in:
Pavol Rusnak 2011-09-17 12:43:37 +00:00 committed by Git OBS Bridge
parent 0f4d6829bb
commit 5270b12f28
2 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 17 10:55:33 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Mon Jan 31 17:27:41 CET 2011 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package alsa-firmware (Version 1.0.24.1)
# spec file for package alsa-firmware
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: alsa-firmware
@ -26,7 +25,6 @@ Version: 1.0.24.1
Release: 1
License: GPLv2+
Group: Hardware/Other
AutoReqProv: on
Source: ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-%{package_version}.tar.bz2
Source1: usx2yaudio.rules
Source2: usx2yaudio-old.rules
@ -47,7 +45,7 @@ autoreconf -fi
--enable-loader \
--enable-hotplug \
--with-hotplug-dir=/lib/firmware
make
make %{?_smp_mflags}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
@ -95,9 +93,6 @@ install -c -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/etc/udev/rules.d/52-usx2yaudio.rul
install -c -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/udev/rules.d/52-usx2yaudio.rules
%endif
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc %{_docdir}/%{name}