[xapian-bindings] 1.2.12, Drop php bindings due to license issue RHBZ #836112

Peter Robinson pbrobinson at fedoraproject.org
Wed Jul 4 13:58:17 UTC 2012


commit a8360cb52480af616d5815ccfb1b65e87c5c43e2
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Jul 4 14:58:09 2012 +0100

    1.2.12, Drop php bindings due to license issue RHBZ #836112

 sources              |    2 +-
 xapian-bindings.spec |   36 ++++++++++--------------------------
 2 files changed, 11 insertions(+), 27 deletions(-)
---
diff --git a/sources b/sources
index d2e2407..5053a73 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ef527488aa0deef1e1ef9583326670fe  xapian-bindings-1.2.9.tar.gz
+9331d7885a68470184ba3d3e8c2b57d5  xapian-bindings-1.2.12.tar.gz
diff --git a/xapian-bindings.spec b/xapian-bindings.spec
index 3040bbc..5b07283 100644
--- a/xapian-bindings.spec
+++ b/xapian-bindings.spec
@@ -3,7 +3,7 @@
 %{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
 
 Name:          xapian-bindings
-Version:       1.2.9
+Version:       1.2.12
 Release:       1%{?dist}
 Summary:       Bindings for the Xapian Probabilistic Information Retrieval Library
 
@@ -13,7 +13,6 @@ URL:           http://www.xapian.org/
 Source0:       http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
 
 BuildRequires: libuuid-devel
-BuildRequires: php-devel
 BuildRequires: python-devel
 BuildRequires: ruby
 BuildRequires: ruby-devel
@@ -21,29 +20,18 @@ BuildRequires: tcl-devel
 BuildRequires: xapian-core-devel
 BuildRequires: zlib-devel
 
+# Can't ship due to license issues. RHBZ #836112
+Obsoletes: php-xapian
+
 # Filter private-shared-object-provides
 %{?filter_setup}
 
-
 %description
 Xapian is an Open Source Probabilistic Information Retrieval Library. It
 offers a highly adaptable toolkit that allows developers to easily add advanced
 indexing and search facilities to applications. This package provides the
 files needed for scripts which use Xapian.
 
-%package -n php-xapian
-Group:         Development/Libraries
-Summary:       Files needed for developing PHP scripts which use Xapian
-Requires:      %{name} = %{version}-%{release}
-Requires:      php(zend-abi) = %{php_zend_api}
-Requires:      php(api) = %{php_core_api}
-
-%description -n php-xapian
-Xapian is an Open Source Probabilistic Information Retrieval framework. It
-offers a highly adaptable toolkit that allows developers to easily add advanced
-indexing and search facilities to applications. This package provides the
-files needed for developing PHP scripts which use Xapian.
-
 %package python
 Group:         Development/Libraries
 Summary:       Files needed for developing Python scripts which use Xapian
@@ -83,7 +71,7 @@ files needed for developing TCL scripts which use Xapian
 %build
 export RUBY_LIB=%{ruby_vendorlibdir}
 export RUBY_LIB_ARCH=%{ruby_vendorarchdir}
-%configure --with-php --with-python --with-ruby --with-tcl
+%configure --with-python --with-ruby --with-tcl
 make %{?_smp_mflags} V=1
 
 %install
@@ -93,15 +81,7 @@ make install DESTDIR=%{buildroot} INSTALL='install -p'
 rm -rf %{buildroot}%{_datadir}/doc/%{name}
 
 %check
-# Extension is unusable for now (wrapper seems outdated)
-# PHP Warning:  PHP Startup: Unable to load dynamic library '.../xapian.so'
-# undefined symbol: zend_error_noreturn in Unknown on line 0
-
-%{_bindir}/php \
-    -n -d extension_dir=%{buildroot}%{php_extdir} \
-    -d extension=xapian.so \
-    -m | grep xapian \
-    || exit 0
+make check
 
 %files
 %defattr(-, root, root)
@@ -128,6 +108,10 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
 %{_libdir}/tcl8.5/xapian%{version}/
 
 %changelog
+* Wed Jul  4 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 1.2.12-1
+- Update to 1.2.12
+- Drop php bindings due to license issue RHBZ #836112
+
 * Sun Apr 29 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 1.2.9-1
 - Update to 1.2.9
 


More information about the scm-commits mailing list