httpd has various tools in /opt/rh/httpd24/root/usr/sbin, but this path is not added into PATH variable by /opt/rh/httpd24/enable script.
I think this could be achieved by adding this to your enable scriptlet: cat >> %{buildroot}%{_scl_scripts}/enable << EOF export PATH=%{_sbindir}:\$PATH EOF Does it fix your issue?
Sorry, I forgot to respond here. It really fixes the issue. I thought that file should be generated automatically and I should not write anything there. Thank you for your help.