]> git.pld-linux.org Git - packages/sysstat.git/blobdiff - sysstat.spec
rel 5; store one record every 2 minutes instead of starting once every hour and store...
[packages/sysstat.git] / sysstat.spec
index 79acf4ad9587c3283af0db3758bd4b191238d97a..287ca165eda53cf64201b50b6ef57827a66910e6 100644 (file)
@@ -6,16 +6,15 @@ Summary(ru.UTF-8):    Содержит программы системного мо
 Summary(uk.UTF-8):     Містить команди системного моніторингу sar та iostat
 Summary(zh_CN.UTF-8):  sar, iostat 等系统监视工具
 # use stable versions
-# Sysstat 11.5.x (development version).
-# Sysstat 11.4.x (stable version).
-# Sysstat 11.2.x (stable version).
+# Sysstat 12.1.x released (development version).
+# Sysstat 12.0.x released (stable version).
 Name:          sysstat
-Version:       11.4.3
-Release:       2
+Version:       12.0.2
+Release:       5
 License:       GPL v2
 Group:         Applications/System
 Source0:       http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz
-# Source0-md5: 76e449bb83a25d95355694338b5ace70
+# Source0-md5: b67be921c4641737c5042b966215571d
 Source2:       %{name}.init
 Source3:       crontab
 Patch1:                install.patch
@@ -31,6 +30,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)
 
@@ -71,13 +71,15 @@ sieciowych i innych operacji wejścia/wyjścia.
        history=28 \
        compressafter=31 \
        cron_owner=root \
-       cron_interval=10 \
+       cron_interval=2 \
+       sadc_options='-L -S XDISK' \
        sa_lib_dir=%{_libexecdir} \
+       ZIP=%{_bindir}/xz \
        --enable-install-cron \
        --disable-stripping \
        --with-systemdsystemunitdir=%{systemdunitdir}
 
-%{__sed} -i 's/SADC_OPTIONS=""/SADC_OPTIONS="-L"/' sysstat.sysconfig
+%{__sed} -i 's/SADC_OPTIONS=""/SADC_OPTIONS="-L -S XDISK"/' sysstat.sysconfig
 
 %{__make} -j1 \
        CC="%{__cc}" \
@@ -123,7 +125,7 @@ fi
 %triggerpostun -- %{name} < 10.1.6-1
 %systemd_trigger sysstat.service
 
-%triggerpostun -- %{name} < 11.2.0-2
+%triggerpostun -- %{name} < 11.7.1-1
 C=0
 for log in /var/log/sa/sa[0-9]*; do
        if (LC_ALL=C %{_bindir}/sadf -C "$log" 2>&1 | grep -q "Current sysstat version cannot read the format of this file"); then
@@ -145,7 +147,7 @@ fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc CHANGES CREDITS README.md FAQ
+%doc CHANGES CREDITS README.md FAQ.md
 %attr(755,root,root) %{_bindir}/cifsiostat
 %attr(755,root,root) %{_bindir}/iostat
 %attr(755,root,root) %{_bindir}/mpstat
This page took 0.04057 seconds and 4 git commands to generate.