[zarafa] PHP 5.4.0 Build

Remi Collet remi at fedoraproject.org
Fri Jan 20 17:25:00 UTC 2012


commit d46d959e0d3c5a27c8cc36ef057babd98f498e72
Author: remi <fedora at famillecollet.com>
Date:   Fri Jan 20 18:24:30 2012 +0100

    PHP 5.4.0 Build

 zarafa.spec |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/zarafa.spec b/zarafa.spec
index e9cd0e3..07c86ed 100644
--- a/zarafa.spec
+++ b/zarafa.spec
@@ -9,13 +9,13 @@
 %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
 
 # Private libraries are not be exposed globally by RPM
-%if 0%{?rhel}%{?fedora} > 4
-%{?filter_setup:
-%filter_provides_in %{_libdir}/%{name}/.*\.so$
-%filter_provides_in %{_libdir}/php/modules/.*\.so$
-%filter_setup
-}
-%endif
+# RPM 4.8
+%{?filter_provides_in: %filter_provides_in %{_libdir}/%{name}/modules/.*\.so$}
+%{?filter_provides_in: %filter_provides_in %{_libdir}/php/modules/.*\.so$}
+%{?filter_setup}
+# RPM 4.9
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{_libdir}/%{name}/modules/.*\\.so$
+%global __provides_exclude_from %{__provides_exclude_from}|%{_libdir}/php/modules/.*\\.so$
 
 Summary:            Open Source Edition of the Zarafa Collaboration Platform
 Name:               zarafa
@@ -880,6 +880,10 @@ fi
 %endif
 
 %changelog
+* Thu Jan 19 2012 Remi Collet <remi at fedoraproject.org> - 7.0.4-2
+- build against php 5.4.0
+- fix so filters
+
 * Fri Jan 13 2012 Robert Scheck <robert at fedoraproject.org> 7.0.4-1
 - Upgrade to 7.0.4
 - Added patch for rebuilding with PHP 5.4 (thanks to Remi Collet)


More information about the scm-commits mailing list