From ebb8096e71f25288da01c0b39c7b97335c38062f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 6 Dec 2021 12:40:41 +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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tuned.spec b/tuned.spec index 24d3ef0..ba4c69d 100644 --- a/tuned.spec +++ b/tuned.spec @@ -95,7 +95,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