From 705e448d748d1ccca6819bfb74223574dd2ba580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 12 Apr 2021 22:36:49 +0200 Subject: [PATCH] updated syspurpose requirement for RHEL-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: rhbz#1948764 Signed-off-by: Jaroslav Škarvada --- tuned.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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