Updated to 11.1.7, color sysstat output

- resolves: #1264895
This commit is contained in:
Peter Schiffer 2015-10-02 15:19:23 +02:00
parent 8e732c8890
commit 25a52534c0
5 changed files with 22 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/sysstat-11.1.6.tar.xz /sysstat-11.1.7.tar.xz

2
colorsysstat.csh Normal file
View File

@ -0,0 +1,2 @@
# Color sysstat output
if ( "$?S_COLORS" == 0 ) setenv S_COLORS auto

2
colorsysstat.sh Normal file
View File

@ -0,0 +1,2 @@
# Color sysstat output
export S_COLORS=${S_COLORS-auto}

View File

@ -1 +1 @@
98412f140f7f00072562d288c5814562 sysstat-11.1.6.tar.xz ad051d43f3891c8cf9bdc9b4a845167c sysstat-11.1.7.tar.xz

View File

@ -1,12 +1,16 @@
Summary: Collection of performance monitoring tools for Linux Summary: Collection of performance monitoring tools for Linux
Name: sysstat Name: sysstat
Version: 11.1.6 Version: 11.1.7
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://sebastien.godard.pagesperso-orange.fr/ URL: http://sebastien.godard.pagesperso-orange.fr/
Source: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz 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 BuildRequires: gettext, lm_sensors-devel, systemd
Requires: findutils, xz Requires: findutils, xz
@ -45,6 +49,11 @@ make %{?_smp_mflags}
%make_install %make_install
%find_lang %{name} %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 %post
%systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer %systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer
@ -67,8 +76,14 @@ fi
%{_unitdir}/sysstat* %{_unitdir}/sysstat*
%{_mandir}/man*/* %{_mandir}/man*/*
%{_localstatedir}/log/sa %{_localstatedir}/log/sa
%{_sysconfdir}/profile.d/*
%changelog %changelog
* Fri Oct 2 2015 Peter Schiffer <pschiffe@redhat.com> - 11.1.7-1
- resolves: #1264895
updated to 11.1.7
- added colors to sysstat output
* Mon Aug 31 2015 Peter Schiffer <pschiffe@redhat.com> - 11.1.6-1 * Mon Aug 31 2015 Peter Schiffer <pschiffe@redhat.com> - 11.1.6-1
- resolves: #1256784 - resolves: #1256784
updated to 11.1.6 updated to 11.1.6