packages: logrotate/logrotate.spec - so do the subst too finally; rel 4

glen glen at pld-linux.org
Fri Nov 6 12:15:28 CET 2009


Author: glen                         Date: Fri Nov  6 11:15:28 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- so do the subst too finally; rel 4

---- Files affected:
packages/logrotate:
   logrotate.spec (1.93 -> 1.94) 

---- Diffs:

================================================================
Index: packages/logrotate/logrotate.spec
diff -u packages/logrotate/logrotate.spec:1.93 packages/logrotate/logrotate.spec:1.94
--- packages/logrotate/logrotate.spec:1.93	Thu Oct  8 14:54:10 2009
+++ packages/logrotate/logrotate.spec	Fri Nov  6 12:15:22 2009
@@ -19,7 +19,7 @@
 Summary(uk.UTF-8):	Ротує, компресує, видаляє та відправляє поштою лог-файли
 Name:		logrotate
 Version:	3.7.8
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/System
 Source0:	https://fedorahosted.org/releases/l/o/logrotate/%{name}-%{version}.tar.gz
@@ -153,6 +153,9 @@
 fi
 exit 0
 
+%triggerpostun -- %{name} < 3.7.8-4
+%{__sed} -i -e 's,olddir /var/log/archiv$,olddir /var/log/archive,' %{_sysconfdir}/logrotate.conf %{_sysconfdir}/logrotate.d/* || :
+
 %post
 if [ -f /var/lib/logrotate.status ]; then
 	mv -f /var/lib/logrotate.status %{statdir}/logrotate.status
@@ -180,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.94  2009/11/06 11:15:22  glen
+- so do the subst too finally; rel 4
+
 Revision 1.93  2009/10/08 12:54:10  baggins
 - rel 3
 - kill /var/log/archiv symlink, it's been 4 (FOUR) years since the change
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/logrotate/logrotate.spec?r1=1.93&r2=1.94&f=u



More information about the pld-cvs-commit mailing list