]> git.pld-linux.org Git - packages/apache1-mod_hosts_access.git/commitdiff
- restart apache in %postun rather in %preun
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 18:18:02 +0000 (18:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove unneeded apxs dep

Changed files:
    apache1-mod_hosts_access.spec -> 1.5

apache1-mod_hosts_access.spec

index fe14e0a02b759255df6432cc2bff3236a6045f0d..cd2eba5d627ca951913c544f564a27ad7f2a0e73 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Apache module: access defined by hosts.allow/hosts.deny
 Summary(pl):   Modu³ do apache: dostêp na podstawie hosts.allow/hosts.deny
 Name:          apache1-mod_%{mod_name}
 Version:       1.0.0
-Release:       0.2
+Release:       0.3
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.klomp.org/mod_hosts_access/mod_%{mod_name}-%{version}.tar.gz
@@ -12,7 +12,6 @@ Source0:      http://www.klomp.org/mod_hosts_access/mod_%{mod_name}-%{version}.tar.gz
 URL:           http://www.klomp.org/mod_hosts_access/
 BuildRequires: apache1-devel >= 1.3.33-2
 BuildRequires: libwrap-devel
-Requires(post,preun):  %{apxs}
 Requires:      apache1 >= 1.3.33-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -50,7 +49,7 @@ if [ -f /var/lock/subsys/apache ]; then
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
This page took 0.069215 seconds and 4 git commands to generate.