parent
8e732c8890
commit
25a52534c0
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/sysstat-11.1.6.tar.xz
|
||||
/sysstat-11.1.7.tar.xz
|
||||
|
2
colorsysstat.csh
Normal file
2
colorsysstat.csh
Normal file
@ -0,0 +1,2 @@
|
||||
# Color sysstat output
|
||||
if ( "$?S_COLORS" == 0 ) setenv S_COLORS auto
|
2
colorsysstat.sh
Normal file
2
colorsysstat.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# Color sysstat output
|
||||
export S_COLORS=${S_COLORS-auto}
|
2
sources
2
sources
@ -1 +1 @@
|
||||
98412f140f7f00072562d288c5814562 sysstat-11.1.6.tar.xz
|
||||
ad051d43f3891c8cf9bdc9b4a845167c sysstat-11.1.7.tar.xz
|
||||
|
17
sysstat.spec
17
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 <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
|
||||
- resolves: #1256784
|
||||
updated to 11.1.6
|
||||
|
Loading…
Reference in New Issue
Block a user