diff options
author | Remi Collet <remi@remirepo.net> | 2018-01-31 11:10:42 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-01-31 11:10:42 +0100 |
commit | 92bb4e4347f4081422c7c7c5ffa95a8cad493f89 (patch) | |
tree | a24956ee88343fca1a4864c6f088a150ee3ccff2 | |
parent | 7e93dc79e7e390bc1b34b70fdae0a92b88b6d6c3 (diff) |
raise dependency on PHP >= 5.6
switch to phpunit6
-rw-r--r-- | composer.json | 14 | ||||
-rw-r--r-- | php-zendframework-zend-soap.spec | 34 |
2 files changed, 27 insertions, 21 deletions
diff --git a/composer.json b/composer.json index 173e294..40b5f49 100644 --- a/composer.json +++ b/composer.json @@ -13,16 +13,17 @@ } }, "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" }, "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" }, "suggest": { "zendframework/zend-http": "Zend\\Http component" @@ -31,8 +32,8 @@ "prefer-stable": true, "extra": { "branch-alias": { - "dev-master": "2.6-dev", - "dev-develop": "2.7-dev" + "dev-master": "2.7.x-dev", + "dev-develop": "2.8.x-dev" } }, "autoload-dev": { @@ -49,7 +50,6 @@ "@cs-check", "@test" ], - "upload-coverage": "coveralls -v", "cs-check": "phpcs", "cs-fix": "phpcbf", "test": "phpunit", 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 |