SPECS: udev.spec - fix subst in trigger, add note that v127 is /lib/udev fo...

glen glen at pld-linux.org
Wed Nov 12 10:06:59 CET 2008


Author: glen                         Date: Wed Nov 12 09:06:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix subst in trigger, add note that v127 is /lib/udev for all arch

---- Files affected:
SPECS:
   udev.spec (1.257 -> 1.258) 

---- Diffs:

================================================================
Index: SPECS/udev.spec
diff -u SPECS/udev.spec:1.257 SPECS/udev.spec:1.258
--- SPECS/udev.spec:1.257	Sun Nov  9 15:09:06 2008
+++ SPECS/udev.spec	Wed Nov 12 10:06:54 2008
@@ -281,8 +281,10 @@
 fi
 
 %triggerpostun core -- udev < 108
-sed -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
-sed -i -e 's#/lib/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
+%{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
+%if "%{_lib}" != "lib"
+%{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
+%endif
 
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
@@ -407,6 +409,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.258  2008/11/12 09:06:54  glen
+- fix subst in trigger, add note that v127 is /lib/udev for all arch
+
 Revision 1.257  2008/11/09 14:09:06  areq
 - 132
 
@@ -420,7 +425,7 @@
 - rel 1
 
 Revision 1.253  2008/10/25 20:32:42  arekm
-C moved to core subpackage
+- C moved to core subpackage
 
 Revision 1.252  2008/10/25 20:29:36  arekm
 - no early rules file
@@ -440,6 +445,7 @@
 
 Revision 1.247  2008/09/09 15:59:41  arekm
 - start game with version 127
+  NOTE: /lib/udev is now used on all arch
 
 Revision 1.246  2008/07/23 05:06:50  qboosh
 - Obsoletes: udev-tools
================================================================

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



More information about the pld-cvs-commit mailing list