diff --git a/.gitignore b/.gitignore index fc43c68..7e83686 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/sysstat-11.1.6.tar.xz +/sysstat-11.1.7.tar.xz diff --git a/colorsysstat.csh b/colorsysstat.csh new file mode 100644 index 0000000..725e15a --- /dev/null +++ b/colorsysstat.csh @@ -0,0 +1,2 @@ +# Color sysstat output +if ( "$?S_COLORS" == 0 ) setenv S_COLORS auto diff --git a/colorsysstat.sh b/colorsysstat.sh new file mode 100644 index 0000000..2a4dfc7 --- /dev/null +++ b/colorsysstat.sh @@ -0,0 +1,2 @@ +# Color sysstat output +export S_COLORS=${S_COLORS-auto} diff --git a/sources b/sources index 4d74d89..1964e02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -98412f140f7f00072562d288c5814562 sysstat-11.1.6.tar.xz +ad051d43f3891c8cf9bdc9b4a845167c sysstat-11.1.7.tar.xz diff --git a/sysstat.spec b/sysstat.spec index 528c22b..fa661b9 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,12 +1,16 @@ Summary: Collection of performance monitoring tools for Linux Name: sysstat -Version: 11.1.6 +Version: 11.1.7 Release: 1%{?dist} License: GPLv2+ Group: Applications/System URL: http://sebastien.godard.pagesperso-orange.fr/ Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz +# Use colors in sysstat output +Source10: colorsysstat.csh +Source11: colorsysstat.sh + BuildRequires: gettext, lm_sensors-devel, systemd Requires: findutils, xz @@ -45,6 +49,11 @@ make %{?_smp_mflags} %make_install %find_lang %{name} +# Colored sysstat output +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +install -p -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/profile.d +install -p -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d + %post %systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer @@ -67,8 +76,14 @@ fi %{_unitdir}/sysstat* %{_mandir}/man*/* %{_localstatedir}/log/sa +%{_sysconfdir}/profile.d/* %changelog +* Fri Oct 2 2015 Peter Schiffer - 11.1.7-1 +- resolves: #1264895 + updated to 11.1.7 +- added colors to sysstat output + * Mon Aug 31 2015 Peter Schiffer - 11.1.6-1 - resolves: #1256784 updated to 11.1.6