From edddf5889d5703a7645ef6b5352626dc3d1ebec7 Mon Sep 17 00:00:00 2001 From: Carl George Date: May 20 2020 19:56:12 +0000 Subject: Rework supplements if statement to avoid syntax errors --- diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec index bcc5066..ea3e987 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -561,9 +561,11 @@ Group: System Environment/Base Requires: rhsm-gtk = %{version}-%{release} Requires: initial-setup-gui >= 0.3.9.24-1 Obsoletes: subscription-manager-firstboot < 1.15.3-1 -%if (0%{?rhel} >= 8 && 0%{centos} == 0) +%if %{undefined centos} +%if (0%{?rhel} >= 8) Supplements: initial-setup-gui %endif +%endif %description -n subscription-manager-initial-setup-addon This package contains the initial-setup screens for subscription-manager.