]> git.pld-linux.org Git - packages/apache1-mod_become.git/blobdiff - apache1-mod_become.spec
- rel 3 (R: apache1(EAPI) instead of apache1)
[packages/apache1-mod_become.git] / apache1-mod_become.spec
index 9ea7c4c9e28f85113ee03492d7ca82c96436aa4b..9a9b0564e771d8f909d17474050e91df9fa9ed85 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Apache module: Become Somebody
 Summary(pl):   Modu³ Apache'a: stawanie siê kim¶
 Name:          apache1-mod_%{mod_name}
 Version:       1.3
-Release:       2
+Release:       3
 License:       ?
 Group:         Networking/Daemons
 Source0:       http://www.snert.com/Software/mod_become/mod_become103.tgz
@@ -12,9 +12,10 @@ Source0:     http://www.snert.com/Software/mod_become/mod_become103.tgz
 URL:           http://www.snert.com/Software/mod_become/
 BuildRequires: %{apxs}
 BuildRequires: apache1-devel >= 1.3.33-2
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires(triggerpostun):       %{apxs}
-Requires:      apache1 >= 1.3.33-2
-Obsoletes:     apache-mod_%{mod_name} <= %{version}
+Requires:      apache1(EAPI)
+Obsoletes:     apache-mod_become <= 1.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
@@ -62,9 +63,7 @@ echo "mod_%{mod_name}: uncomment the appropriate line in Apache's config file."
 
 %postun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+       %service -q apache restart
 fi
 
 %triggerpostun -- apache1-mod_%{mod_name} < 1.3-1.1
This page took 0.056669 seconds and 4 git commands to generate.