Accepting request 54136 from multimedia:libs

Accepted submit request 54136 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/54136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa-utils?expand=0&rev=47
This commit is contained in:
Berthold Gunreben 2010-11-30 10:03:07 +00:00 committed by Git OBS Bridge
commit 785a431247
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 30 08:42:50 CET 2010 - tiwai@suse.de
- Add the missing /var/lib/alsa to filelist
-------------------------------------------------------------------
Fri Nov 26 09:58:58 CET 2010 - tiwai@suse.de

View File

@ -19,8 +19,10 @@
%if %suse_version > 1130
%define use_systemd 1
%define use_varlib 1
%else
%define use_systemd 0
%define use_varlib 0
%endif
Name: alsa-utils
@ -152,7 +154,7 @@ opts=""
%if %use_systemd
opts="$opts --with-systemdsystemunitdir=/lib/systemd/system"
%endif
%if %suse_version < 1140
%if ! %use_varlib
opts="$opts --with-asound-state-dir=/etc"
%endif
%if %suse_version < 1030
@ -167,6 +169,9 @@ make %{?jobs:-j %jobs}
%if %use_systemd
ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service
%endif
%if %use_varlib
mkdir -p $RPM_BUILD_ROOT/var/lib/alsa
%endif
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@ -186,5 +191,8 @@ ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service
%if %use_systemd
/lib/systemd
%endif
%if %use_varlib
/var/lib/alsa
%endif
%changelog