]> git.pld-linux.org Git - packages/apache1-mod_dynvhost.git/commitdiff
- more specific Requires
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 8 Jul 2003 13:02:54 +0000 (13:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_dynvhost.spec -> 1.14

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.066276 seconds and 4 git commands to generate.