diff --git a/packaging/cfengine-community/cfengine-community.spec.in b/packaging/cfengine-community/cfengine-community.spec.in index c2f9e1feb..231be4fba 100644 --- a/packaging/cfengine-community/cfengine-community.spec.in +++ b/packaging/cfengine-community/cfengine-community.spec.in @@ -62,7 +62,7 @@ rm -f $RPM_BUILD_ROOT%{prefix}/bin/openssl rm -f $RPM_BUILD_ROOT%{prefix}/bin/curl rm -rf $RPM_BUILD_ROOT%{prefix}/ssl -%if %{?rhel}%{!rhel:0} >= 9 +%if %{?rhel}%{!?rhel:0} >= 9 rm -f $RPM_BUILD_ROOT/etc/sysconfig/cfengine3 rm -f $RPM_BUILD_ROOT/etc/init.d/cfengine3 rm -f $RPM_BUILD_ROOT/etc/profile.d/cfengine.sh