SPECS: dcd.spec - R(triggerpostun), use sed 4.0 in the first trigg...

qboosh qboosh at pld-linux.org
Thu Nov 24 18:05:03 CET 2005


Author: qboosh                       Date: Thu Nov 24 17:05:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- R(triggerpostun), use sed 4.0 in the first trigger too

---- Files affected:
SPECS:
   dcd.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/dcd.spec
diff -u SPECS/dcd.spec:1.75 SPECS/dcd.spec:1.76
--- SPECS/dcd.spec:1.75	Thu Nov 24 17:53:32 2005
+++ SPECS/dcd.spec	Thu Nov 24 18:04:57 2005
@@ -14,9 +14,9 @@
 BuildRequires:	automake
 BuildRequires:	libtool
 BuildRequires:	libwrap-devel
-Requires:	rc-scripts
-Requires:	sed >= 4.0
 Requires(post,preun):	/sbin/chkconfig
+Requires(triggerpostun):	sed >= 4.0
+Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -81,8 +81,7 @@
 umask 002
 echo "Remember to review config - console users has been changed into dcd.users"
 cp /etc/dcd/dcd.conf /etc/dcd/dcd.conf.rpmsave
-sed -e s/console.users/dcd.users/g /etc/dcd/dcd.conf >/etc/dcd/dcd.conf.tmp
-mv -f /etc/dcd/dcd.conf.tmp /etc/dcd/dcd.conf
+sed -i -e 's/console.users/dcd.users/g' /etc/dcd/dcd.conf
 
 %triggerpostun -- dcd < 0.4.6
 echo "Upgrading from version < 0.4.6"
@@ -125,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2005/11/24 17:04:57  qboosh
+- R(triggerpostun), use sed 4.0 in the first trigger too
+
 Revision 1.75  2005/11/24 16:53:32  darekr
 - PreReq -> Requires
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dcd.spec?r1=1.75&r2=1.76&f=u




More information about the pld-cvs-commit mailing list