diff options
Diffstat (limited to 'php-zendframework-zend-http.spec')
-rw-r--r-- | php-zendframework-zend-http.spec | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/php-zendframework-zend-http.spec b/php-zendframework-zend-http.spec index c825208..2916479 100644 --- a/php-zendframework-zend-http.spec +++ b/php-zendframework-zend-http.spec @@ -1,13 +1,13 @@ # remirepo/Fedora spec file for php-zendframework-zend-http # -# 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 78aa510c0ea64bfb2aa234f50c4f232c9531acfa +%global gh_commit f48b276ffa11b48dd1ae3c6bc306d6ed7958ef51 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-http @@ -20,11 +20,10 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.7.0 +Version: 2.8.0 Release: 1%{?dist} Summary: Zend Framework %{library} component -Group: Development/Libraries License: BSD URL: https://zendframework.github.io/%{gh_project}/ Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz @@ -47,15 +46,13 @@ BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7.7 BuildRequires: php-composer(%{gh_owner}/zend-uri) >= 2.5.2 BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.10.1 # From composer, "require-dev": { -# "phpunit/phpunit": "^6.4.1 || ^5.7.15", +# "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.3", # "zendframework/zend-coding-standard": "~1.0.0", # "zendframework/zend-config": "^3.1 || ^2.6" BuildRequires: php-composer(%{gh_owner}/zend-config) >= 2.5 -%if 0%{?fedora} >= 26 -%global phpunit %{_bindir}/phpunit6 -%else %global phpunit %{_bindir}/phpunit -%endif +BuildRequires: php-composer(phpunit/phpunit) >= 5.7.27 + # Autoloader BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5 %endif @@ -132,7 +129,7 @@ require_once '%{php_home}/Zend/autoload.php'; EOF ret=0 -for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" php70 php71 php72; do +for cmdarg in "php %{phpunit}" php70 php71 php72; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit6} || ret=1 @@ -153,6 +150,9 @@ exit $ret %changelog +* Fri Apr 27 2018 Remi Collet <remi@remirepo.net> - 2.8.0-1 +- update to 2.8.0 + * Thu Nov 2 2017 Remi Collet <remi@remirepo.net> - 2.7.0-1 - Update to 2.7.0 - use phpunit6 on F26+ |