summaryrefslogtreecommitdiffstats
path: root/mod_lookup_identity.spec
diff options
context:
space:
mode:
Diffstat (limited to 'mod_lookup_identity.spec')
-rw-r--r--mod_lookup_identity.spec3
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