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

Changed files:
    apache1-mod_ntlm.spec -> 1.19

apache1-mod_ntlm.spec

index 3fa55a4147a8d489ac58890385986362252ed8a9..0b67982c00921f4574cfc84d20c5c9070da50c3f 100644 (file)
@@ -5,7 +5,7 @@ Summary:        This is the NTLM authentication module for Apache
 Summary(pl):   Modu³ uwierzytelnienia NTLM dla Apache
 Name:          apache1-mod_%{mod_name}
 Version:       0.4
-Release:       0.2
+Release:       0.3
 Epoch:         1
 License:       GPL
 Group:         Networking/Daemons
@@ -15,7 +15,6 @@ Patch0:               %{name}-security.patch
 URL:           http://modntlm.sourceforge.net/
 BuildRequires: %{apxs}
 BuildRequires: apache1-devel >= 1.3.33-2
-Requires(post,preun):  %{apxs}
 Requires:      apache1 >= 1.3.33-2
 Obsoletes:     apache-mod_%{mod_name} <= %{epoch}:%{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,7 +56,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.047078 seconds and 4 git commands to generate.