diff --git a/alsa-utils.changes b/alsa-utils.changes index 869f045..b720856 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -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 diff --git a/alsa-utils.spec b/alsa-utils.spec index f60420b..52f1539 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -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