SPECS: sysklogd.spec - appears that -a takes only one path, remove...

glen glen at pld-linux.org
Fri Oct 28 11:13:22 CEST 2005


Author: glen                         Date: Fri Oct 28 09:13:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- appears that -a takes only one path, remove -a from $ADDITIONAL_SOCK; rel 17

---- Files affected:
SPECS:
   sysklogd.spec (1.105 -> 1.106) 

---- Diffs:

================================================================
Index: SPECS/sysklogd.spec
diff -u SPECS/sysklogd.spec:1.105 SPECS/sysklogd.spec:1.106
--- SPECS/sysklogd.spec:1.105	Thu Oct 27 14:29:27 2005
+++ SPECS/sysklogd.spec	Fri Oct 28 11:13:17 2005
@@ -10,7 +10,7 @@
 Summary(tr):	Linux sistem ve çekirdek kayýt süreci
 Name:		sysklogd
 Version:	1.4.1
-Release:	16
+Release:	17
 License:	GPL
 Group:		Daemons
 Source0:	http://www.ibiblio.org/pub/Linux/system/daemons/%{name}-%{version}.tar.gz
@@ -103,6 +103,7 @@
 Requires(pre):  /usr/sbin/groupadd
 Requires(postun):	/usr/sbin/userdel
 Requires(postun):	/usr/sbin/groupdel
+Requires(triggerpostun):	sed >= 4.0
 Requires:	klogd
 Requires:	logrotate >= 3.2-3
 Requires:	psmisc >= 20.1
@@ -279,6 +280,11 @@
 	echo "Original file from package is available as /etc/syslog.conf.rpmnew"
 fi
 
+%triggerpostun -- syslog < 1.4.1-17
+# remove any -a option from ADDITIONAL_SOCK
+cp -f /etc/sysconfig/syslog{,.rpmsave}
+sed -i -e '/^ADDITIONAL_SOCK=/s/-a //g' /etc/sysconfig/syslog
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -310,6 +316,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.106  2005/10/28 09:13:17  glen
+- appears that -a takes only one path, remove -a from $ADDITIONAL_SOCK; rel 17
+
 Revision 1.105  2005/10/27 12:29:27  glen
 - rel 16
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sysklogd.spec?r1=1.105&r2=1.106&f=u




More information about the pld-cvs-commit mailing list