From 85e1c50368724d695d099cf1aa18f9057418d304 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 16 Feb 2005 18:18:46 +0000 Subject: [PATCH] - restart apache in %postun rather in %preun - remove unneeded post,preun deps Changed files: apache1-mod_ntlm.spec -> 1.19 --- apache1-mod_ntlm.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apache1-mod_ntlm.spec b/apache1-mod_ntlm.spec index 3fa55a4..0b67982 100644 --- a/apache1-mod_ntlm.spec +++ b/apache1-mod_ntlm.spec @@ -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 -- 2.44.0