From 35ddd17fa5265200c0e2488ac4ee8be36a10da29afdd4dacc14b3571864f9db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 18 Sep 2011 11:06:22 +0000 Subject: [PATCH] Accepting request 82975 from home:jengelh:bl-a - Remove redundant tags/sections from specfile as discussed on opensuse-packaging - Use %_smp_mflags for parallel build OBS-URL: https://build.opensuse.org/request/show/82975 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=37 --- alsa-utils.changes | 6 ++++++ alsa-utils.spec | 18 +++--------------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/alsa-utils.changes b/alsa-utils.changes index 9e88f6e..592cb05 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 10:58:04 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Tue Jun 28 15:53:16 CEST 2011 - tiwai@suse.de diff --git a/alsa-utils.spec b/alsa-utils.spec index 43930b7..5cdacc3 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %if %suse_version > 1130 %define use_systemd 1 @@ -32,11 +31,10 @@ License: GPLv2+ Group: Productivity/Multimedia/Sound/Players Provides: alsa-conf Requires: dialog pciutils -AutoReqProv: on Summary: Advanced Linux Sound Architecture Utilities Version: 1.0.24.2 Release: 8 -Source: ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2 +Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2 # Patch: alsa-utils-git-fixes.diff Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch Patch2: 0002-alsaloop-libsamplerate-requires-specific-formats-for.patch @@ -64,13 +62,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build This package contains utility programs supporting ALSA, Advanced Linux Sound Architecture. - - -Authors: --------- - Jaroslav Kysela - Takashi Iwai - %prep %setup -q -n %{name}-%{package_version} # fix stupid automake's automatic action @@ -101,7 +92,7 @@ sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am %endif %build -export AUTOMAKE_JOBS=%{?jobs:%jobs} +export AUTOMAKE_JOBS="%{?_smp_mflags}" %if %suse_version < 1020 gettextize -f %endif @@ -117,7 +108,7 @@ opts="$opts --with-asound-state-dir=/etc" opts="$opts --disable-xmlto" %endif %configure --with-curses=ncursesw $opts -make %{?jobs:-j %jobs} +make %{?_smp_mflags} %install %makeinstall @@ -129,9 +120,6 @@ ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service mkdir -p $RPM_BUILD_ROOT/var/lib/alsa %endif -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT - %files -f %{name}.lang %defattr(-, root, root) %doc COPYING ChangeLog INSTALL README TODO