]> git.pld-linux.org Git - packages/apache1-mod_jk.git/commitdiff
- restart apache in %postun rather in %preun
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 18:18:32 +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_jk.spec -> 1.8

apache1-mod_jk.spec

index 7e9164dc5aaee59be974d7ba6764353927ad4309..044d05e89a3fded1f3c5d995a9922f909fe13658 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Apache module that handles communication between Tomcat and Apache 1.3.
 Summary(pl):   Modu³ Apache'a obs³uguj±cy komunikacjê miêdzy Tomcatem a Apachem 1.3.x
 Name:          apache1-mod_%{mod_name}
 Version:       1.2.8
-Release:       1.1
+Release:       1.2
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-%{version}/jakarta-tomcat-connectors-%{version}-src.tar.gz
@@ -19,10 +19,6 @@ BuildRequires:       automake
 BuildRequires: autoconf
 BuildRequires: perl-base
 Requires:      apache1 >= 1.3.33-2
-Requires(post,preun):  %{apxs}
-Requires(post,preun):  %{__perl}
-Requires(post,preun):  grep
-Requires(preun):       fileutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     jakarta-tomcat-connectors-jk
 
@@ -71,7 +67,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.076683 seconds and 4 git commands to generate.