packages: alsa-utils/alsa-utils.spec - rel 2; /var/lib/alsa added

arekm arekm at pld-linux.org
Wed Feb 2 13:21:43 CET 2011


Author: arekm                        Date: Wed Feb  2 12:21:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; /var/lib/alsa added

---- Files affected:
packages/alsa-utils:
   alsa-utils.spec (1.168 -> 1.169) 

---- Diffs:

================================================================
Index: packages/alsa-utils/alsa-utils.spec
diff -u packages/alsa-utils/alsa-utils.spec:1.168 packages/alsa-utils/alsa-utils.spec:1.169
--- packages/alsa-utils/alsa-utils.spec:1.168	Mon Jan 31 20:47:29 2011
+++ packages/alsa-utils/alsa-utils.spec	Wed Feb  2 13:21:38 2011
@@ -7,7 +7,7 @@
 Summary(uk.UTF-8):	Утиліти командного рядка для ALSA project
 Name:		alsa-utils
 Version:	1.0.24.2
-Release:	1
+Release:	2
 # some apps GPL v2, some GPL v2+
 License:	GPL v2
 Group:		Applications/Sound
@@ -37,8 +37,8 @@
 Requires:	diffutils
 Requires:	which
 Suggests:	gpm
-Obsoletes:	alsaconf
 Obsoletes:	alsa-udev
+Obsoletes:	alsaconf
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -138,7 +138,7 @@
 
 install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound
 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/alsa-oss-pcm
-install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/alsa/alsactl.conf
+install -D %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/alsa/alsactl.conf
 
 install -d $RPM_BUILD_ROOT/lib/alsa
 mv $RPM_BUILD_ROOT%{_datadir}/alsa/init $RPM_BUILD_ROOT/lib/alsa
@@ -174,6 +174,10 @@
 	/sbin/chkconfig --del alsasound
 fi
 
+%triggerpostun -- %{name} < 1.0.24.2-2
+install -d /var/lib/alsa
+mv -f /etc/asound.state /var/lib/alsa/asound.state
+
 %files -f alsa-utils.lang
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO
@@ -196,6 +200,7 @@
 # symlink
 %attr(755,root,root) %{_sbindir}/alsactl
 %{_sysconfdir}/alsa/alsactl.conf
+%dir /var/lib/alsa
 %dir /lib/alsa
 /lib/alsa/init
 %{_datadir}/alsa/init
@@ -234,6 +239,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.169  2011/02/02 12:21:38  arekm
+- rel 2; /var/lib/alsa added
+
 Revision 1.168  2011/01/31 19:47:29  arekm
 - up to 1.0.24.2 (store via udev is gone; only restore is there)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/alsa-utils/alsa-utils.spec?r1=1.168&r2=1.169&f=u



More information about the pld-cvs-commit mailing list