[axis2c/el5] Add httpd-mmn dependency

gholms gholms at fedoraproject.org
Wed Mar 14 00:08:34 UTC 2012


commit 3f5c8be095accf240f7538728c1b3c1183366d43
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Mar 13 16:02:45 2012 -0700

    Add httpd-mmn dependency

 axis2c.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/axis2c.spec b/axis2c.spec
index f8e0cfa..fcefdea 100644
--- a/axis2c.spec
+++ b/axis2c.spec
@@ -1,8 +1,9 @@
 %global axis2c_home %{_libdir}/axis2c
+%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}
 
 Name:           axis2c
 Version:        1.6.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Web services engine implemented in C
 
 Group:          System Environment/Libraries
@@ -34,6 +35,8 @@ BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
 
+Requires:       httpd-mmn = %{_httpd_mmn}
+
 %description
 Apache Axis2/C is a Web services engine implemented in the C programming
 language.  It is based on the extensible and flexible Axis2 architecture.
@@ -218,6 +221,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Mar 13 2012 Garrett Holmstrom <gholms at fedoraproject.org> - 1.6.0-4
+- Added httpd-mmn dependency
+
 * Fri Feb 10 2012 Garrett Holmstrom <gholms at fedoraproject.org> - 1.6.0-3
 - Added logrotate config
 


More information about the scm-commits mailing list