rpms/alsa-lib/devel alsa-lib.spec,1.31,1.32

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jul 20 13:47:22 UTC 2005


Author: stransky

Update of /cvs/dist/rpms/alsa-lib/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16590

Modified Files:
	alsa-lib.spec 
Log Message:
check for /var/run/console/console.lock (#162982)


Index: alsa-lib.spec
===================================================================
RCS file: /cvs/dist/rpms/alsa-lib/devel/alsa-lib.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- alsa-lib.spec	20 Jun 2005 19:32:37 -0000	1.31
+++ alsa-lib.spec	20 Jul 2005 13:47:19 -0000	1.32
@@ -5,7 +5,7 @@
 Summary: The Advanced Linux Sound Architecture (ALSA) library.
 Name: alsa-lib
 Version: %{version_main}%{?version_app}
-Release: 2
+Release: 3
 License: LGPL
 Group: System Environment/Libraries
 Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version_main}%{?prever}.tar.bz2
@@ -90,12 +90,16 @@
 
 %post
 /sbin/ldconfig 
-/usr/bin/ainit `cat /var/run/console/console.lock` start
+if [ -f /var/run/console/console.lock ]; then
+   /usr/bin/ainit `cat /var/run/console/console.lock` start
+fi
 
 %postun -p /sbin/ldconfig
 
 %preun 
-/usr/bin/ainit `cat /var/run/console/console.lock` stop
+if [ -f /var/run/console/console.lock ]; then
+   /usr/bin/ainit `cat /var/run/console/console.lock` stop
+fi
 
 %triggerpostun -- alsa-lib < 1.0.6-2
 ln -snf ../../etc/alsa %{_datadir}/alsa
@@ -129,6 +133,9 @@
 %{_datadir}/aclocal/alsa.m4
 
 %changelog
+* Wed Jul 20 2005 Martin Stransky <stransky at redhat.com> 1.0.9rf-3
+- check for /var/run/console/console.lock (#162982)
+
 * Thu Jun 16 2005 Martin Stransky <stransky at redhat.com> 1.0.9rf-2
 - fix for #159411
 




More information about the fedora-cvs-commits mailing list