[openchange] Do not include nagios/check_exchange in RHEL

Milan Crha mcrha at fedoraproject.org
Fri May 4 10:28:32 UTC 2012


commit f50eb1449c277c4b572cca825838b3f685f16f03
Author: Milan Crha <mcrha at redhat.com>
Date:   Fri May 4 12:28:25 2012 +0200

    Do not include nagios/check_exchange in RHEL

 openchange.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/openchange.spec b/openchange.spec
index d0a9ac8..8d7d659 100644
--- a/openchange.spec
+++ b/openchange.spec
@@ -13,7 +13,7 @@
 
 Name: openchange
 Version: 1.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: Applications/System
 Summary: Provides access to Microsoft Exchange servers using native protocols
 License: GPLv3+ and Public Domain
@@ -161,6 +161,11 @@ rm -r $RPM_BUILD_ROOT%{python_sitearch}/openchange
 rm $RPM_BUILD_ROOT%{_libdir}/libmapiserver.so.*
 %endif
 
+# do not include this on RHEL
+%if 0%{?rhel}
+rm %{_libdir}/nagios/check_exchange
+%endif
+
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi
 cp openchange-libmapi.devhelp $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi
 cp -r apidocs/html/libmapi/* $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi
@@ -240,11 +245,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libmapiserver.so.*
 %{_libdir}/samba/dcerpc_server/dcesrv_mapiproxy.so
 %{_libdir}/samba/modules/*
+%if !0%{?rhel}
 %{_libdir}/nagios/check_exchange
+%endif
 %{_datadir}/setup/*
 %endif
 
 %changelog
+* Wed May 02 2012 Milan Crha <mcrha at redhat.com> - 1.0-5
+- Do not include nagios/check_exchange in RHEL
+
 * Tue Apr 24 2012 Milan Crha <mcrha at redhat.com> - 1.0-4
 - Bump samba4 dependency
 


More information about the scm-commits mailing list