From fa86cf46466920ff4e1a325e7d72d8e41cde5d60 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Thu, 30 Jan 2014 14:33:09 +0800 Subject: Depend on httpd-mmn per https://fedoraproject.org/wiki/PackagingDrafts/ApacheHTTPModules#Run-Time_Dependencies. --- mod_lookup_identity.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit