diff --git a/autodist.spec b/autodist.spec index edfc9ab..638df19 100644 --- a/autodist.spec +++ b/autodist.spec @@ -3,7 +3,7 @@ Name: autodist Version: 0.9.22 -Release: 1mamba +Release: 2mamba Summary: A tool based on autospec for repository-level automatic builds Group: Development/Tools Vendor: openmamba @@ -77,6 +77,13 @@ fi %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 %defattr(-,root,root) %{_sysconfdir}/cron.daily/40-autodist-upstream-updates @@ -147,6 +154,9 @@ fi %config(noreplace) %attr(0600,apache,nobody) %{_localstatedir}/webbuild/users/admin.conf %changelog +* Sun Dec 21 2014 Silvan Calarco 0.9.22-2mamba +- webbuild: enable mod_cgi on install + * Thu Dec 04 2014 Silvan Calarco 0.9.22-1mamba - update to 0.9.22