[packages/logrotate] ensure compress/uncompress program paths

glen glen at pld-linux.org
Tue Dec 19 20:02:44 CET 2017


commit 0920d32bd0736b640a88ba21e6b2b1e5cedc4cc0
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 19 20:58:57 2017 +0200

    ensure compress/uncompress program paths
    
    protect against future breakage:
    https://github.com/logrotate/logrotate/issues/161

 logrotate.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/logrotate.spec b/logrotate.spec
index 9345216..fc9736a 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -136,6 +136,9 @@ Logrotate призначений для полегшення адміністр
 	--disable-silent-rules \
 	--with%{!?with_acl:out}-acl \
 	--with%{!?with_selinux:out}-selinux \
+	--with-default-mail-command=/bin/mail \
+	--with-compress-command=/bin/gzip \
+	--with-uncompress-command=/bin/gunzip \
 	--with-state-file-path=%{statdir}/logrotate.status
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/logrotate.git/commitdiff/0920d32bd0736b640a88ba21e6b2b1e5cedc4cc0



More information about the pld-cvs-commit mailing list