Drop unnecessary profile.d configs

This commit is contained in:
FeRD (Frank Dana) 2022-09-01 03:47:13 -04:00
parent 963e56dac8
commit 557f2c08d6
3 changed files with 4 additions and 15 deletions

View File

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

View File

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

View File

@ -1,15 +1,11 @@
Summary: Collection of performance monitoring tools for Linux
Name: sysstat
Version: 12.6.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
URL: http://sebastien.godard.pagesperso-orange.fr/
Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz
# Use colors in sysstat output
Source1: colorsysstat.csh
Source2: colorsysstat.sh
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: git
@ -61,11 +57,6 @@ make %{?_smp_mflags}
%make_install
%find_lang %{name}
# Colored sysstat output
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
%post
%systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer
@ -83,7 +74,6 @@ fi
%doc CHANGES COPYING CREDITS FAQ.md README.md %{name}-%{version}.lsm
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf
%config(noreplace) %{_sysconfdir}/profile.d/*
%{_bindir}/*
%{_libdir}/sa
%{_unitdir}/sysstat*
@ -92,6 +82,9 @@ fi
%{_localstatedir}/log/sa
%changelog
* Thu Sep 01 2022 FeRD (Frank Dana) <ferdnyc@gmail.com> - 12.6.0-3
- Drop profile.d configs for color output, which is enabled by default
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild