logrotate:ver.bump

This commit is contained in:
Rmys
2018-08-15 12:50:57 +03:00
parent b82a973797
commit 16356dd44e
2 changed files with 18 additions and 3 deletions
+10 -2
View File
@@ -6,17 +6,25 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i '/exit 5/s/^/echo uncompress failed -- skipping #/' test/test")
autotools.configure()
def build():
autotools.make("RPM_OPT_FLAGS=\"%s\" WITH_ACL=yes" % get.CFLAGS())
def check():
autotools.make("check")
def install():
autotools.rawInstall("PREFIX=%s MANDIR=%s" % (get.installDIR(), get.manDIR()))
autotools.rawInstall("DESTDIR=%s MANDIR=%s" % (get.installDIR(), get.manDIR()))
pisitools.dodir("/etc/logrotate.d")
pisitools.dobin("examples/logrotate.cron", "/etc/cron.daily")
pisitools.insinto("/etc", "examples/logrotate-default", "logrotate.conf")
pisitools.dodoc("CHANGES", "COPYING", "README*")
pisitools.dodoc("COPYING*", "README*")
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>app:console</IsA>
<Summary>Rotates, compresses, removes and emails system log files</Summary>
<Description>logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and emailing of log files.</Description>
<Archive sha1sum="7ba734cd1ffa7198b66edc4bca17a28ea8999386" type="targz">https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.9.1.tar.gz</Archive>
<Archive sha1sum="803cd9543b589e7a309be8322d926fec8eee7fd3" type="tarxz">https://github.com/logrotate/logrotate/releases/download/3.11.0/logrotate-3.11.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>popt-devel</Dependency>
<Dependency>acl-devel</Dependency>
@@ -34,6 +34,13 @@
</Package>
<History>
<Update release="4">
<Date>2018-08-15</Date>
<Version>3.11.0</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-01-25</Date>
<Version>3.9.1</Version>