From 5ff85a31e08f956de637dbdf953f42888c2e247c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Feb 2017 14:17:14 +0100 Subject: php-solarium: 2.8.0 --- composer.json | 3 ++- php-solarium.spec | 26 ++++++++++++++++++++++---- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 1bcf8b7..3f8c0be 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "phpunit/phpunit": "~3.7", "squizlabs/php_codesniffer": "~1.4", "zendframework/zendframework1": "~1.12", - "satooshi/php-coveralls": "~1.0" + "satooshi/php-coveralls": "~1.0", + "guzzlehttp/guzzle": "^3.8 || ^6.2" }, "suggest": { "minimalcode/search": "Query builder compatible with Solarium, allows simplified solr-query handling" diff --git a/php-solarium.spec b/php-solarium.spec index 9451d30..5184b4c 100644 --- a/php-solarium.spec +++ b/php-solarium.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 0acdb2838ae551fe87e4e334e449a468973839f2 +%global gh_commit 06e957a9060afd200cd66fef61125108bd66874a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner solariumphp %global gh_project solarium @@ -14,7 +14,7 @@ Name: php-%{gh_project} Summary: Solarium PHP Solr client library -Version: 3.7.0 +Version: 3.8.0 Release: 1%{?dist} URL: http://www.solarium-project.org/ @@ -34,8 +34,14 @@ BuildRequires: php-composer(fedora/autoloader) # "phpunit/phpunit": "~3.7", # "squizlabs/php_codesniffer": "~1.4", # "zendframework/zendframework1": "~1.12", -# "satooshi/php-coveralls": "~1.0" +# "satooshi/php-coveralls": "~1.0", +# "guzzlehttp/guzzle": "^3.8 || ^6.2" BuildRequires: php-composer(phpunit/phpunit) >= 3.7 +%if 0%{?fedora} +BuildRequires: php-guzzlehttp-guzzle6 >= 6.2 +%else +BuildRequires: php-guzzle-Guzzle >= 3.8 +%endif %endif # From composer.json, "require": { @@ -95,7 +101,16 @@ cp -pr library/Solarium %{buildroot}%{_datadir}/php/Solarium %if %{with_tests} : Autoloader mkdir vendor -ln -s %{buildroot}%{_datadir}/php/Solarium/autoload.php vendor/autoload.php +cat << 'EOF' | tee vendor/autoload.php + - 3.8.0-1 +- update to 3.8.0 + * Fri Oct 28 2016 Remi Collet - 3.7.0-1 - update to 3.7.0 - add optional dependency on minimalcode/search -- cgit