updated syspurpose requirement for RHEL-9

Resolves: rhbz#1948764

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2021-04-12 22:36:49 +02:00
parent 220822bd2f
commit 705e448d74
No known key found for this signature in database
GPG Key ID: D8E1C00E076E840B

View File

@ -34,7 +34,7 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.15.0
Release: 3%{?prerel1}%{?dist}
Release: 4%{?prerel1}%{?dist}
License: GPLv2+
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
# RHEL-9 specific recommend.conf:
@ -78,9 +78,14 @@ Recommends: hdparm
Recommends: kernel-tools
Recommends: kmod
%endif
# syspurpose
%if 0%{?rhel} > 8
Requires: subscription-manager
%else
%if 0%{?rhel} > 7
Requires: python3-syspurpose
%endif
%endif
%description
The tuned package contains a daemon that tunes system settings dynamically.
@ -517,6 +522,10 @@ fi
%{_mandir}/man7/tuned-profiles-postgresql.7*
%changelog
* Mon Apr 12 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15.0-4
- updated syspurpose requirement for RHEL-9
resolves: rhbz#1948764
* Mon Feb 08 2021 Jan Zerdik <jzerdik@redhat.com> - 2.15.0-3
- used RHEL recommend.conf
resolves: rhbz#1921016