SPECS: alsa-udev.spec - script moved from /etc/udev/scripts to %{_...

arvenil arvenil at pld-linux.org
Mon Oct 29 14:46:38 CET 2007


Author: arvenil                      Date: Mon Oct 29 13:46:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- script moved from /etc/udev/scripts to %{_lib}/udev
  (thanks to Przemysław Białek <lobo at chello.pl>)
- s#alsa_udev#alsa-udev#g
- adapter
- rel 0.2

---- Files affected:
SPECS:
   alsa-udev.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/alsa-udev.spec
diff -u SPECS/alsa-udev.spec:1.5 SPECS/alsa-udev.spec:1.6
--- SPECS/alsa-udev.spec:1.5	Mon Feb 12 22:23:46 2007
+++ SPECS/alsa-udev.spec	Mon Oct 29 14:46:33 2007
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Reguły i skrypty udev dla Advanced Linux Sound Architecture
 Name:		alsa-udev
 Version:	0.1
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications/Sound
 Source0:	%{name}.rules
@@ -14,9 +14,9 @@
 Requires(post,preun):	/sbin/chkconfig
 Requires:	awk
 Requires:	udev >= 075
-Obsoletes:	alsaconf
 Obsoletes:	alsa-init-tools
 Obsoletes:	alsa-utils-init
+Obsoletes:	alsaconf
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,9 +31,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 install -D %{SOURCE0} $RPM_BUILD_ROOT/etc/udev/rules.d/alsa.rules
-install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/udev/scripts/alsa.sh
-install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/alsa_udev
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_lib}/udev/alsa-udev
+install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/alsa-udev
 install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsa-udev
+sed -i -e 's#/lib/udev/#/%{_lib}/udev/#g' %{SOURCE0}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,9 +50,9 @@
 %files
 %defattr(644,root,root,755)
 %attr(754,root,root) /etc/rc.d/init.d/*
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/alsa-udev
 /etc/udev/rules.d/alsa.rules
-%attr(754,root,root) /etc/udev/scripts/alsa.sh
+%attr(754,root,root) %{_lib}/udev/alsa-udev
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +60,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/10/29 13:46:33  arvenil
+- script moved from /etc/udev/scripts to %{_lib}/udev
+  (thanks to Przemysław Białek <lobo at chello.pl>)
+- s#alsa_udev#alsa-udev#g
+- adapter
+- rel 0.2
+
 Revision 1.5  2007/02/12 21:23:46  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/alsa-udev.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list