diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-30 14:33:49 +0800 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-30 19:47:20 +0800 |
commit | c5b366ccd13a8fbae82b0a1f2792873ab305b7fe (patch) | |
tree | 0a9921684b72240b44cde642afaeecab27ac9324 | |
parent | 64f86a262e84f5ed6a59d8cb104f1a18d2514c5c (diff) | |
download | mod_intercept_form_submit-c5b366ccd13a8fbae82b0a1f2792873ab305b7fe.tar.gz mod_intercept_form_submit-c5b366ccd13a8fbae82b0a1f2792873ab305b7fe.tar.xz mod_intercept_form_submit-c5b366ccd13a8fbae82b0a1f2792873ab305b7fe.zip |
Depend on httpd-mmn per https://fedoraproject.org/wiki/PackagingDrafts/ApacheHTTPModules#Run-Time_Dependencies.
-rw-r--r-- | mod_intercept_form_submit.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod_intercept_form_submit.spec b/mod_intercept_form_submit.spec index ab21b68..df4402c 100644 --- a/mod_intercept_form_submit.spec +++ b/mod_intercept_form_submit.spec @@ -1,3 +1,4 @@ +%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo 0-0)}} %{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}} %{!?_httpd_confdir: %{expand: %%global _httpd_confdir %%{_sysconfdir}/httpd/conf.d}} # /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4 @@ -15,7 +16,7 @@ Source0: http://www.adelton.com/apache/mod_intercept_form_submit/%{name}-%{versi BuildRequires: httpd-devel BuildRequires: pkgconfig Requires(pre): httpd -Requires: httpd +Requires: httpd-mmn = %{_httpd_mmn} Requires: mod_authnz_pam >= 0.7 # Suppres auto-provides for module DSO |