]> git.pld-linux.org Git - packages/apache-mod_watch.git/commitdiff
- fixed to work with apr >= 1.0 auto/ac/apache-mod_watch-4_03-4
authorheretyk <heretyk@pld-linux.org>
Sat, 20 Nov 2004 17:47:10 +0000 (17:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 4, STBR

Changed files:
    apache-mod_watch.spec -> 1.20

apache-mod_watch.spec

index fe157085aba4535f34e0652e8381ce6b5a426c29..a173ce192453d5567403a2bc2c1a754e3d5e8a8c 100644 (file)
@@ -5,16 +5,17 @@ Summary:      Apache module: Monitoring Interface for MRTG
 Summary(pl):   ModuĀ³ do apache: Interfejs do monitorowania za pomocĀ± MRTG
 Name:          apache-mod_%{mod_name}
 Version:       4.03
-Release:       3
+Release:       4
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.snert.com/Software/download/mod_watch%(echo %{version} | tr -d .).tgz
 # Source0-md5: 06d57713adb935f16596d22256bca913
 Source1:       %{name}.conf
+Patch0:                %{name}-apr-fix.patch
 URL:           http://www.snert.com/Software/mod_watch/
 BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2
-Requires(post,preun):  %{apxs}
+#Requires(post,preun): %{apxs}
 Requires(post,preun):  grep
 Requires(preun):       fileutils
 Requires:      apache >= 2
@@ -41,6 +42,7 @@ graficzn
 
 %prep
 %setup -q -n mod_%{mod_name}-4.3
+%patch0 -p1
 
 %build
 %{__make} -f Makefile.dso build \
@@ -58,7 +60,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/99_mod_watch.conf
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+#%{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 else
@@ -67,7 +69,7 @@ fi
 
 %preun
 if [ "$1" = "0" ]; then
-       %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+#      %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
        umask 027
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd restart 1>&2
This page took 0.077055 seconds and 4 git commands to generate.