From 23f34274263f7a1364cec0ab1f0b908142ecd8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 6 Dec 2021 12:55:51 +0100 Subject: [PATCH] spec: do not require subscription-manager on CentOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: rhbz#2028865 Signed-off-by: Jaroslav Škarvada --- tuned.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tuned.spec b/tuned.spec index 1370db9..7fb90fd 100644 --- a/tuned.spec +++ b/tuned.spec @@ -35,7 +35,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned Version: 2.16.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: @@ -87,7 +87,10 @@ Recommends: kmod %endif # syspurpose %if 0%{?rhel} > 8 +# not on CentOS +%if 0%{!?centos:1} Requires: subscription-manager +%endif %else %if 0%{?rhel} > 7 Requires: python3-syspurpose @@ -532,6 +535,10 @@ fi %{_mandir}/man7/tuned-profiles-postgresql.7* %changelog +* Mon Dec 6 2021 Jaroslav Škarvada - 2.16.0-4 +- spec: do not require subscription-manager on CentOS + Resolves: rhbz#2029405 + * Wed Aug 18 2021 Jaroslav Škarvada - 2.16.0-3 - scheduler: allow exclude of processes from the specific cgroup(s) Resolves: rhbz#1980715