diff options
-rw-r--r-- | apache1-mod_watch.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apache1-mod_watch.spec b/apache1-mod_watch.spec index 48550ba..af18f62 100644 --- a/apache1-mod_watch.spec +++ b/apache1-mod_watch.spec @@ -4,7 +4,7 @@ Summary: Apache module: Monitoring Interface for MRTG Summary(pl): Moduł do apache: Interfejs do monitorowania za pomocą MRTG Name: apache-mod_%{mod_name} Version: 3.13 -Release: 2 +Release: 3 License: BSD Group: Networking/Daemons Source0: http://www.snert.com/Software/mod_watch/mod_watch%(echo %{version} | sed -e "s#\.##g").tgz @@ -49,6 +49,9 @@ install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd} install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir} install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/mod_watch.conf +mv mod_watch.html mod_watch_pl.html +sed -e 's/<!--#/<!--/g' index.shtml > mod_watch.html + %post %{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 if [ -f %{_sysconfdir}/httpd/httpd.conf ] && \ |