]> git.pld-linux.org Git - packages/apache1-mod_dynvhost.git/blobdiff - apache1-mod_dynvhost.spec
- more specific Requires
[packages/apache1-mod_dynvhost.git] / apache1-mod_dynvhost.spec
index 36741e867b85dde59aa9829de048345619245f77..6e4566b8dda6ccfe25bb8e6d9c85abf2b7f4cd41 100644 (file)
@@ -13,7 +13,7 @@ URL:          http://funkcity.com/0101/
 BuildRequires: %{apxs}
 BuildRequires: apache(EAPI)-devel
 BuildRequires: zlib-devel
-Prereq:                %{_sbindir}/apxs
+Requires(post,preun):  %{apxs}
 Requires:      apache(EAPI)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,6 +42,9 @@ install -d $RPM_BUILD_ROOT%{_pkglibdir}
 
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 %{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
@@ -56,9 +59,6 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc README ChangeLog
This page took 0.104617 seconds and 4 git commands to generate.