From dd53315bc859eae535f999c44198aea721624320 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Jan 2018 06:58:40 +0100 Subject: Update to 2.7.0 raise dependency on PHP 5.6 --- php-zendframework-zend-console.spec | 40 ++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'php-zendframework-zend-console.spec') diff --git a/php-zendframework-zend-console.spec b/php-zendframework-zend-console.spec index 5defad2..21e7b96 100644 --- a/php-zendframework-zend-console.spec +++ b/php-zendframework-zend-console.spec @@ -1,13 +1,13 @@ # remirepo/Fedora spec file for php-zendframework-zend-console # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit cbbdfdfa0564aa20d1c6c6ef3daeafe6aec02360 +%global gh_commit e8aa08da83de3d265256c40ba45cd649115f0e18 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-console @@ -20,7 +20,7 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.6.0 +Version: 2.7.0 Release: 1%{?dist} Summary: Zend Framework %{library} component @@ -33,7 +33,7 @@ Source1: makesrc.sh BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 5.5 +BuildRequires: php(language) >= 5.6 BuildRequires: php-ctype BuildRequires: php-dom BuildRequires: php-pcre @@ -42,25 +42,25 @@ BuildRequires: php-spl BuildRequires: php-xml BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7 # From composer, "require-dev": { -# "fabpot/php-cs-fixer": "1.7.*", -# "phpunit/PHPUnit": "~4.0", -# "zendframework/zend-filter": "^2.6", -# "zendframework/zend-json": "^2.6", -# "zendframework/zend-validator": "^2.5" -BuildRequires: php-composer(%{gh_owner}/zend-filter) >= 2.5 -BuildRequires: php-composer(%{gh_owner}/zend-json) >= 2.5 -BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.5 -BuildRequires: php-composer(phpunit/phpunit) >= 4.0 +# "phpunit/phpunit": "^5.7.23 || ^6.4.3", +# "zendframework/zend-coding-standard": "~1.0.0", +# "zendframework/zend-filter": "^2.7.2", +# "zendframework/zend-json": "^2.6 || ^3.0", +# "zendframework/zend-validator": "^2.10.1" +BuildRequires: php-composer(phpunit/phpunit) >= 5.7 +BuildRequires: php-composer(%{gh_owner}/zend-filter) >= 2.7.2 +BuildRequires: php-composer(%{gh_owner}/zend-json) >= 2.6 +BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.10.1 # 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-validator": "To support DefaultRouteMatcher usage", @@ -120,7 +120,7 @@ require_once '%{php_home}/Zend/autoload.php'; EOF ret=0 -for cmd in php php56 php70 php71 php72; do +for cmd in php php70 php71 php72; do if which $cmd; then $cmd %{_bindir}/phpunit || ret=1 fi @@ -140,6 +140,10 @@ exit $ret %changelog +* Fri Jan 26 2018 Remi Collet - 2.7.0-1 +- Update to 2.7.0 +- raise dependency on PHP 5.6 + * Fri Feb 12 2016 Remi Collet - 2.6.0-1 - update to 2.6.0 - raise dependency on PHP >= 5.5 -- cgit