[packages/sysstat] requires xz due picked up zip program on builders

glen glen at pld-linux.org
Mon Aug 21 13:47:24 CEST 2017


commit cb3a54561e0ae25be5a6f20aa68ef2f76ea4a845
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Aug 21 14:42:49 2017 +0300

    requires xz due picked up zip program on builders
    
    AC_CHECK_PROGS(ZIP, xz bzip2 gzip, gzip)
    
    enforce ZIP prog to ensure consistent build

 sysstat.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/sysstat.spec b/sysstat.spec
index 79acf4a..bcfaac2 100644
--- a/sysstat.spec
+++ b/sysstat.spec
@@ -11,7 +11,7 @@ Summary(zh_CN.UTF-8):	sar, iostat 等系统监视工具
 # Sysstat 11.2.x (stable version).
 Name:		sysstat
 Version:	11.4.3
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz
@@ -31,6 +31,7 @@ Requires(post,preun):	/sbin/chkconfig
 Requires:	cronjobs
 Requires:	rc-scripts
 Requires:	systemd-units >= 38
+Requires:	xz
 Obsoletes:	iostat
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -73,6 +74,7 @@ sieciowych i innych operacji wejścia/wyjścia.
 	cron_owner=root \
 	cron_interval=10 \
 	sa_lib_dir=%{_libexecdir} \
+	ZIP=%{_bindir}/xz \
 	--enable-install-cron \
 	--disable-stripping \
 	--with-systemdsystemunitdir=%{systemdunitdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sysstat.git/commitdiff/cb3a54561e0ae25be5a6f20aa68ef2f76ea4a845



More information about the pld-cvs-commit mailing list