From 4b9b4cfffb8e725fca32e06c97445f78817dd7ea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Dec 2015 14:13:15 +0100 Subject: php-pecl-solr2: upcoming 2.3.0 test build --- REFLECTION | 70 +++++++++++++++++++++++++++++++++++++++++++++-------- php-pecl-solr2.spec | 15 ++++++------ 2 files changed, 68 insertions(+), 17 deletions(-) diff --git a/REFLECTION b/REFLECTION index feaed4a..8aaca0e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #198 solr version 2.2.1 ] { +Extension [ extension #197 solr version 2.3.0 ] { - Dependencies { Dependency [ libxml (Required) ] @@ -7,9 +7,9 @@ Extension [ extension #198 solr version 2.2.1 ] { - Constants [4] { Constant [ integer SOLR_MAJOR_VERSION ] { 2 } - Constant [ integer SOLR_MINOR_VERSION ] { 2 } - Constant [ integer SOLR_PATCH_VERSION ] { 1 } - Constant [ string SOLR_EXTENSION_VERSION ] { 2.2.1 } + Constant [ integer SOLR_MINOR_VERSION ] { 3 } + Constant [ integer SOLR_PATCH_VERSION ] { 0 } + Constant [ string SOLR_EXTENSION_VERSION ] { 2.3.0 } } - Functions { @@ -106,7 +106,7 @@ Extension [ extension #198 solr version 2.2.1 ] { Property [ private $_hashtable_index ] } - - Methods [30] { + - Methods [33] { Method [ public method __construct ] { - Parameters [0] { @@ -300,6 +300,24 @@ Extension [ extension #198 solr version 2.2.1 ] { - Parameters [0] { } } + + Method [ public method getChildDocumentsCount ] { + + - Parameters [0] { + } + } + + Method [ public method hasChildDocuments ] { + + - Parameters [0] { + } + } + + Method [ public method getChildDocuments ] { + + - Parameters [0] { + } + } } } @@ -356,7 +374,7 @@ Extension [ extension #198 solr version 2.2.1 ] { Property [ private $_hashtable_index ] } - - Methods [20] { + - Methods [25] { Method [ public method __construct ] { - Parameters [0] { @@ -484,6 +502,38 @@ Extension [ extension #198 solr version 2.2.1 ] { Parameter #1 [ $overwrite ] } } + + Method [ public method addChildDocument ] { + + - Parameters [1] { + Parameter #0 [ SolrInputDocument &$child ] + } + } + + Method [ public method getChildDocuments ] { + + - Parameters [0] { + } + } + + Method [ public method hasChildDocuments ] { + + - Parameters [0] { + } + } + + Method [ public method getChildDocumentsCount ] { + + - Parameters [0] { + } + } + + Method [ public method &addChildDocuments ] { + + - Parameters [1] { + Parameter #0 [ array &$docs ] + } + } } } @@ -3981,7 +4031,7 @@ Extension [ extension #198 solr version 2.2.1 ] { Method [ public method setMax ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $max ] } } @@ -3994,7 +4044,7 @@ Extension [ extension #198 solr version 2.2.1 ] { Method [ public method setMin ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $min ] } } @@ -4007,7 +4057,7 @@ Extension [ extension #198 solr version 2.2.1 ] { Method [ public method setSize ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $size ] } } @@ -4020,7 +4070,7 @@ Extension [ extension #198 solr version 2.2.1 ] { Method [ public method setHint ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $hint ] } } diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec index 7cc7a27..ab82f98 100644 --- a/php-pecl-solr2.spec +++ b/php-pecl-solr2.spec @@ -34,23 +34,22 @@ %global ini_name 50-%{pecl_name}.ini %endif # For full test (using localhost server) use --with tests -# create: docker run -d -p 8983:8983 --name solr5 -t omars/solr53 -# cleanup: docker stop solr5 && docker rm solr5 +# retrieve: docker pull omars/solr53 +# create: docker run -d -p 8983:8983 --name solr5 -t omars/solr53 +# cleanup: docker stop solr5 && docker rm solr5 %global with_tests 0%{?_with_tests:1} Summary: Object oriented API to Apache Solr Summary(fr): API orientée objet pour Apache Solr Name: %{?sub_prefix}php-pecl-solr2 -Version: 2.2.1 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 2.3.0 +Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/solr Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -Patch0: %{pecl_name}-upstream.patch - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -136,7 +135,6 @@ sed -e 's/role="test"/role="src"/' -i package.xml mv %{pecl_name}-%{version}%{?prever} NTS cd NTS -%patch0 -p1 -b .upstream # Check version extver=$(sed -n '/#define PHP_SOLR_VERSION /{s/.* "//;s/".*$//;p}' php_solr_version.h) @@ -289,6 +287,9 @@ rm -rf %{buildroot} %changelog +* Tue Nov 01 2015 Remi Collet - 2.3.0-0 +- test build for upcoming 2.3.0 + * Mon Sep 28 2015 Remi Collet - 2.2.1-3 - add upstream patch for zpp calls (fix broken ppc64) -- cgit