forked from pool/alsa-utils
- Add the missing /var/lib/alsa to filelist
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=27
This commit is contained in:
parent
775fb1e138
commit
8198250e05
@ -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
|
Fri Nov 26 09:58:58 CET 2010 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -19,8 +19,10 @@
|
|||||||
|
|
||||||
%if %suse_version > 1130
|
%if %suse_version > 1130
|
||||||
%define use_systemd 1
|
%define use_systemd 1
|
||||||
|
%define use_varlib 1
|
||||||
%else
|
%else
|
||||||
%define use_systemd 0
|
%define use_systemd 0
|
||||||
|
%define use_varlib 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
@ -152,7 +154,7 @@ opts=""
|
|||||||
%if %use_systemd
|
%if %use_systemd
|
||||||
opts="$opts --with-systemdsystemunitdir=/lib/systemd/system"
|
opts="$opts --with-systemdsystemunitdir=/lib/systemd/system"
|
||||||
%endif
|
%endif
|
||||||
%if %suse_version < 1140
|
%if ! %use_varlib
|
||||||
opts="$opts --with-asound-state-dir=/etc"
|
opts="$opts --with-asound-state-dir=/etc"
|
||||||
%endif
|
%endif
|
||||||
%if %suse_version < 1030
|
%if %suse_version < 1030
|
||||||
@ -167,6 +169,9 @@ make %{?jobs:-j %jobs}
|
|||||||
%if %use_systemd
|
%if %use_systemd
|
||||||
ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service
|
ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service
|
||||||
%endif
|
%endif
|
||||||
|
%if %use_varlib
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/lib/alsa
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$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
|
%if %use_systemd
|
||||||
/lib/systemd
|
/lib/systemd
|
||||||
%endif
|
%endif
|
||||||
|
%if %use_varlib
|
||||||
|
/var/lib/alsa
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user