webbuild: enable mod_cgi on install [release 0.9.22-2mamba;Sun Dec 21 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:41:22 +01:00
parent 0559cb81a9
commit 0503ccab32

View File

@ -3,7 +3,7 @@
Name: autodist Name: autodist
Version: 0.9.22 Version: 0.9.22
Release: 1mamba Release: 2mamba
Summary: A tool based on autospec for repository-level automatic builds Summary: A tool based on autospec for repository-level automatic builds
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -77,6 +77,13 @@ fi
%postun %postun
%systemd_postun %systemd_postun
%post webbuild
if [ $1 -ge 1 ]; then
apxs -e -a -n cgi %{_libdir}/apache/mod_cgi.so > /dev/null
systemctl -q reload-or-try-restart httpd
fi
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/cron.daily/40-autodist-upstream-updates %{_sysconfdir}/cron.daily/40-autodist-upstream-updates
@ -147,6 +154,9 @@ fi
%config(noreplace) %attr(0600,apache,nobody) %{_localstatedir}/webbuild/users/admin.conf %config(noreplace) %attr(0600,apache,nobody) %{_localstatedir}/webbuild/users/admin.conf
%changelog %changelog
* Sun Dec 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-2mamba
- webbuild: enable mod_cgi on install
* Thu Dec 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-1mamba * Thu Dec 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-1mamba
- update to 0.9.22 - update to 0.9.22