Skip to content

Commit

Permalink
Merge pull request #1474 from vpodzime/master-community_rhel7
Browse files Browse the repository at this point in the history
Fix RHEL version check in cfengine-community.spec.in
  • Loading branch information
vpodzime authored Jul 2, 2024
2 parents 220a455 + a551234 commit 1a7caa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/cfengine-community/cfengine-community.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a7caa3

Please sign in to comment.