From 0503ccab32c4ee940a59cc187ff4c2b9015546eb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:41:22 +0100 Subject: [PATCH] webbuild: enable mod_cgi on install [release 0.9.22-2mamba;Sun Dec 21 2014] --- autodist.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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