- drop explicit buildrequires on systemd

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=24
This commit is contained in:
Takashi Iwai 2010-11-26 08:21:50 +00:00 committed by Git OBS Bridge
parent 3331bcfb82
commit c9eaaffcc8
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 26 09:21:16 CET 2010 - tiwai@suse.de
- drop explicit buildrequires on systemd
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 26 09:05:03 CET 2010 - tiwai@suse.de Fri Nov 26 09:05:03 CET 2010 - tiwai@suse.de

View File

@ -25,9 +25,6 @@
Name: alsa-utils Name: alsa-utils
BuildRequires: alsa-devel ncurses-devel xmlto pkgconfig BuildRequires: alsa-devel ncurses-devel xmlto pkgconfig
%if %use_systemd
BuildRequires: systemd
%endif
%define package_version 1.0.23 %define package_version 1.0.23
License: GPLv2+ License: GPLv2+
Group: Productivity/Multimedia/Sound/Players Group: Productivity/Multimedia/Sound/Players
@ -152,6 +149,9 @@ gettextize -f
%endif %endif
autoreconf -fi autoreconf -fi
opts="" opts=""
%if %use_systemd
opts="$opts --with-systemdsystemunitdir=/lib/systemd/system"
%endif
%if %suse_version < 1140 %if %suse_version < 1140
opts="$opts --with-asound-state-dir=/etc" opts="$opts --with-asound-state-dir=/etc"
%endif %endif
@ -179,10 +179,9 @@ make %{?jobs:-j %jobs}
%{_sbindir}/* %{_sbindir}/*
%{_datadir}/sounds/alsa %{_datadir}/sounds/alsa
%{_datadir}/alsa %{_datadir}/alsa
/lib/udev/rules.d/*.rules /lib/udev
%if %use_systemd %if %use_systemd
/lib/systemd/system/*.service /lib/systemd
/lib/systemd/system/*/*.service
%endif %endif
%changelog %changelog