diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-30 14:33:09 +0800 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-30 19:44:05 +0800 |
commit | fa86cf46466920ff4e1a325e7d72d8e41cde5d60 (patch) | |
tree | 6b337c3d4ce587c9066ba1199c86b5c61ee042f8 | |
parent | c77a6edae4db7879c70397dc847b6cdeb7c468a6 (diff) | |
download | mod_lookup_identity-fa86cf46466920ff4e1a325e7d72d8e41cde5d60.tar.gz mod_lookup_identity-fa86cf46466920ff4e1a325e7d72d8e41cde5d60.tar.xz mod_lookup_identity-fa86cf46466920ff4e1a325e7d72d8e41cde5d60.zip |
Depend on httpd-mmn per https://fedoraproject.org/wiki/PackagingDrafts/ApacheHTTPModules#Run-Time_Dependencies.
-rw-r--r-- | mod_lookup_identity.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod_lookup_identity.spec b/mod_lookup_identity.spec index bbe8c77..5af1228 100644 --- a/mod_lookup_identity.spec +++ b/mod_lookup_identity.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 @@ -16,7 +17,7 @@ BuildRequires: httpd-devel BuildRequires: dbus-devel BuildRequires: pkgconfig Requires(pre): httpd -Requires: httpd +Requires: httpd-mmn = %{_httpd_mmn} Requires: dbus-libs # Suppres auto-provides for module DSO |