diff options
Diffstat (limited to 'php-zendframework-zend-soap.spec')
-rw-r--r-- | php-zendframework-zend-soap.spec | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/php-zendframework-zend-soap.spec b/php-zendframework-zend-soap.spec index ff378f1..8cede21 100644 --- a/php-zendframework-zend-soap.spec +++ b/php-zendframework-zend-soap.spec @@ -1,13 +1,13 @@ # remirepo/Fedora spec file for php-zendframework-zend-soap # -# 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 2d6012e7231cce550219eccfc80836a028d20bf1 +%global gh_commit af03c32f0db2b899b3df8cfe29aeb2b49857d284 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-soap @@ -20,8 +20,8 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.6.0 -Release: 4%{?dist} +Version: 2.7.0 +Release: 2%{?dist} Summary: Zend Framework %{library} component Group: Development/Libraries @@ -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-curl BuildRequires: php-dom BuildRequires: php-libxml @@ -44,23 +44,25 @@ BuildRequires: php-autoloader(%{gh_owner}/zend-server) >= 2.6.1 BuildRequires: php-autoloader(%{gh_owner}/zend-stdlib) >= 2.7 BuildRequires: php-autoloader(%{gh_owner}/zend-uri) >= 2.5.2 # From composer, "require-dev": { +# "phpunit/phpunit": "^5.7.21 || ^6.3", +# "zendframework/zend-coding-standard": "~1.0.0", # "zendframework/zend-config": "^2.6", -# "zendframework/zend-http": "^2.5.4", -# "phpunit/PHPUnit": "^4.8", -# "squizlabs/php_codesniffer": "^2.3.1" +# "zendframework/zend-http": "^2.5.4" BuildRequires: php-autoloader(%{gh_owner}/zend-config) >= 2.6 BuildRequires: php-autoloader(%{gh_owner}/zend-http) >= 2.5.4 -BuildRequires: php-composer(phpunit/phpunit) >= 4.8 +BuildRequires: phpunit6 >= 6.3 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel # From composer, "require": { -# "php": "^5.5 || ^7.0", +# "php": "^5.6 || ^7.0", +# "ext-soap": "*", # "zendframework/zend-server": "^2.6.1", # "zendframework/zend-stdlib": "^2.7 || ^3.0", # "zendframework/zend-uri": "^2.5.2" -Requires: php(language) >= 5.5 +Requires: php(language) >= 5.6 +Requires: php-soap %if ! %{bootstrap} Requires: php-autoloader(%{gh_owner}/zend-server) >= 2.6.1 Requires: php-autoloader(%{gh_owner}/zend-server) < 3 @@ -81,7 +83,6 @@ Requires: php-curl Requires: php-dom Requires: php-libxml Requires: php-pcre -Requires: php-soap Requires: php-spl Obsoletes: php-ZendFramework2-%{library} < 2.5 @@ -139,9 +140,9 @@ require_once 'test/TestAsset/call_user_func.php'; EOF ret=0 -for cmd in php php56 php70 php71 php72; do +for cmd in php php71 php72; do if which $cmd; then - $cmd %{_bindir}/phpunit || ret=1 + $cmd %{_bindir}/phpunit6 || ret=1 fi done exit $ret @@ -159,6 +160,11 @@ exit $ret %changelog +* Wed Jan 31 2018 Remi Collet <remi@remirepo.net> - 2.7.0-1 +- Update to 2.7.0 +- raise dependency on PHP >= 5.6 +- switch to phpunit6 + * Mon Dec 11 2017 Remi Collet <remi@remirepo.net> - 2.6.0-4 - switch from zend-loader to fedora/autoloader |