@@ -63,10 +63,11 @@ rm -f $RPM_BUILD_ROOT%{prefix}/bin/curl
6363rm -f $RPM_BUILD_ROOT%{prefix}/bin/wcurl
6464rm -rf $RPM_BUILD_ROOT%{prefix}/ssl
6565
66- # For el9 + and suse-15+ we started seeing issues from other packages not expecting init scripts
67- %if %{?rhel}%{!?rhel:0} >= 9 || %{?suse_version}%{!?suse_version:0} >= 1500
66+ # For el8 + and suse-15+ we started seeing issues from other packages not expecting init scripts
67+ %if %{?rhel}%{!?rhel:0} >= 8 || %{?suse_version}%{!?suse_version:0} >= 1500
6868rm -f $RPM_BUILD_ROOT/etc/sysconfig/cfengine3
6969rm -f $RPM_BUILD_ROOT/etc/init.d/cfengine3
70+ rm -f $RPM_BUILD_ROOT/etc/init.d/cf-php-fpm
7071rm -f $RPM_BUILD_ROOT/etc/profile.d/cfengine3.sh
7172%endif
7273
@@ -149,12 +150,13 @@ done
149150%endif
150151
151152# Globally installed configs, scripts
152- %if %{?rhel}%{!?rhel:0} < 9 && %{?suse_version}%{!?suse_version:0} < 1500
153+ %if %{?rhel}%{!?rhel:0} < 8 && %{?suse_version}%{!?suse_version:0} < 1500
153154%attr(644,root,root) /etc/sysconfig/cfengine3
154155%attr(755,root,root) /etc/profile.d/cfengine3.sh
155156# ENT-11901
156- # For el9 + and suse15+ we started seeing issues from other packages not expecting init scripts
157+ # For el8 + and suse15+ we started seeing issues from other packages not expecting init scripts
157158%attr(755,root,root) /etc/init.d/cfengine3
159+ %attr(755,root,root) /etc/init.d/cf-php-fpm
158160%endif
159161
160162# Systemd units
0 commit comments