]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- restart apache in %postun rather in %preun
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 18:20:00 +0000 (18:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add conflict for ipv6 bcond

Changed files:
    apache1-module.spec -> 1.5

apache1-module.spec

index 8d86b35f812741499a3cebb7b79269928fa898da..53d50a985288f12db2ad0c117bfc5c83d3b1533e 100644 (file)
@@ -18,6 +18,7 @@ Source1:      %{name}.conf
 URL:           -
 BuildRequires: apache1-devel >= 1.3.33-2
 %{?with_ipv6:BuildRequires:    apache1(ipv6)-devel}
+%{!?with_ipv6:BuildConflicts:  apache1(ipv6)-devel}
 Requires(triggerpostun):       %{apxs}
 Requires(triggerpostun):       grep
 Requires(triggerpostun):       sed >= 4.0
@@ -61,7 +62,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.056492 seconds and 4 git commands to generate.