]> git.pld-linux.org Git - packages/logrotate.git/commitdiff
- so do the subst too finally; rel 4 auto/ac/logrotate-3_7_8-4 auto/th/logrotate-3_7_8-4
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 6 Nov 2009 11:15:22 +0000 (11:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    logrotate.spec -> 1.94

logrotate.spec

index 760bd7cf84f71821effff3dd54a9f5a4e4e46843..f38f70e84f2bb3a0398d5915a92110be2ea20edf 100644 (file)
@@ -18,7 +18,7 @@ Summary(tr.UTF-8):    Sistem günlüklerini yönlendirir, sıkıştırır ve mektup
 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
@@ -152,6 +152,9 @@ if [ ! -L /var/log/archiv ]; then
 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
This page took 0.089609 seconds and 4 git commands to generate.