From 93ffa82a78ab405c82f6616b81890a77fc011da1 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 8 Jul 2003 13:02:54 +0000 Subject: [PATCH] - more specific Requires Changed files: apache-mod_auth_pam.spec -> 1.20 --- apache-mod_auth_pam.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apache-mod_auth_pam.spec b/apache-mod_auth_pam.spec index caea2fb..68e68a9 100644 --- a/apache-mod_auth_pam.spec +++ b/apache-mod_auth_pam.spec @@ -15,7 +15,7 @@ Patch0: %{name}-symbol_fix.patch URL: http://pam.sourceforge.net/mod_auth_pam/ BuildRequires: %{apxs} BuildRequires: apache(EAPI)-devel -PreReq: %{_sbindir}/apxs +Requires(post,preun): %{apxs} Requires: apache(EAPI) BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -50,6 +50,9 @@ install -d $RPM_BUILD_ROOT{%{_pkglibdir},/etc/pam.d} install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir} install samples/httpd- $RPM_BUILD_ROOT/etc/pam.d/httpd +%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 @@ -64,9 +67,6 @@ if [ "$1" = "0" ]; then fi fi -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) %doc doc/{configure,faq}.txt samples/dot-htaccess README -- 2.43.0