diff --git a/tuned.spec b/tuned.spec index 56c54be..5f13e73 100644 --- a/tuned.spec +++ b/tuned.spec @@ -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 - 2.15.0-4 +- updated syspurpose requirement for RHEL-9 + resolves: rhbz#1948764 + * Mon Feb 08 2021 Jan Zerdik - 2.15.0-3 - used RHEL recommend.conf resolves: rhbz#1921016