From bed9aa84f5a91e69c13ae5ab46a131d33db30387 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Apr 2018 10:46:20 +0200 Subject: update to 2.6.0 raise dependency on PHP 5.6 raise dependency on zend-stdlib 2.7.7 --- php-zendframework-zend-authentication.spec | 54 +++++++++++++++++------------- 1 file changed, 30 insertions(+), 24 deletions(-) (limited to 'php-zendframework-zend-authentication.spec') diff --git a/php-zendframework-zend-authentication.spec b/php-zendframework-zend-authentication.spec index 056539d..4b189ff 100644 --- a/php-zendframework-zend-authentication.spec +++ b/php-zendframework-zend-authentication.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 1422dec160eb769c719cad2229847fcbf20a1405 +%global gh_commit ebc9464c11a5203e5256439f1079a7d6efe89eec %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-authentication @@ -20,7 +20,7 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.5.3 +Version: 2.6.0 Release: 1%{?dist} Summary: Zend Framework %{library} component @@ -33,41 +33,41 @@ Source1: makesrc.sh BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 5.5 +BuildRequires: php(language) >= 5.6 BuildRequires: php-ctype BuildRequires: php-date BuildRequires: php-hash BuildRequires: php-pcre BuildRequires: php-spl -BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.5 +BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7.7 # From composer, "require-dev": { -# "zendframework/zend-db": "^2.7", -# "zendframework/zend-crypt": "^2.6", -# "zendframework/zend-http": "^2.5.4", -# "zendframework/zend-ldap": "^2.6", -# "zendframework/zend-session": "^2.6.2", -# "zendframework/zend-validator": "^2.6", -# "zendframework/zend-uri": "^2.5", -# "fabpot/php-cs-fixer": "1.7.*", -# "phpunit/PHPUnit": "~4.0" -BuildRequires: php-composer(%{gh_owner}/zend-db) >= 2.7 +# "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2", +# "zendframework/zend-coding-standard": "~1.0.0", +# "zendframework/zend-crypt": "^2.6 || ^3.2.1", +# "zendframework/zend-db": "^2.8.2", +# "zendframework/zend-http": "^2.7", +# "zendframework/zend-ldap": "^2.8", +# "zendframework/zend-session": "^2.8", +# "zendframework/zend-uri": "^2.5.2", +# "zendframework/zend-validator": "^2.10.1" BuildRequires: php-composer(%{gh_owner}/zend-crypt) >= 2.6 -BuildRequires: php-composer(%{gh_owner}/zend-http) >= 2.5.4 -BuildRequires: php-composer(%{gh_owner}/zend-ldap) >= 2.6 -BuildRequires: php-composer(%{gh_owner}/zend-session) >= 2.6.2 -BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.6 -BuildRequires: php-composer(%{gh_owner}/zend-uri) >= 2.5 -BuildRequires: php-composer(phpunit/phpunit) >= 4.0 +BuildRequires: php-composer(%{gh_owner}/zend-db) >= 2.8.2 +BuildRequires: php-composer(%{gh_owner}/zend-http) >= 2.7 +BuildRequires: php-composer(%{gh_owner}/zend-ldap) >= 2.8 +BuildRequires: php-composer(%{gh_owner}/zend-session) >= 2.8 +BuildRequires: php-composer(%{gh_owner}/zend-uri) >= 2.5.2 +BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.10.1 +BuildRequires: php-composer(phpunit/phpunit) >= 5.7 # Autoloader BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5 %endif # From composer, "require": { -# "php": "^5.5 || ^7.0", -# "zendframework/zend-stdlib": "^2.7 || ^3.0" -Requires: php(language) >= 5.5 +# "php": "^5.6 || ^7.0", +# "zendframework/zend-stdlib": "^2.7.7 || ^3.1" +Requires: php(language) >= 5.6 %if ! %{bootstrap} -Requires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7 +Requires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7.7 Requires: php-composer(%{gh_owner}/zend-stdlib) < 4 # From composer, "suggest": { # "zendframework/zend-db": "Zend\\Db component", @@ -134,6 +134,7 @@ Zend\Loader\AutoloaderFactory::factory(array( 'Zend\\%{library}' => '%{buildroot}%{php_home}/Zend/%{library}' )))); require_once '%{php_home}/Zend/autoload.php'; +require_once dirname(__DIR__) . '/test/autoload.php'; EOF ret=0 @@ -157,6 +158,11 @@ exit $ret %changelog +* Mon Apr 16 2018 Remi Collet - 2.6.0-1 +- update to 2.6.0 +- raise dependency on PHP 5.6 +- raise dependency on zend-stdlib 2.7.7 + * Sun Feb 28 2016 Remi Collet - 2.5.3-1 - update to 2.5.3 - raise dependency on zend-stdlib ~2.7 -- cgit