diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-08-08 19:16:14 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-08-08 19:16:14 +0200 |
commit | 891e01bcee63f76f463192b984311b47b559a7b7 (patch) | |
tree | e1281da6639834c0e9083d0cf9a618ebdeac4275 | |
parent | 89c20aad806d393fa1006f14ed1940f59ee40706 (diff) |
php-zendframework-zend-http: 2.5.5
-rw-r--r-- | composer.json | 38 | ||||
-rw-r--r-- | php-zendframework-zend-http.spec | 26 |
2 files changed, 58 insertions, 6 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..740349a --- /dev/null +++ b/composer.json @@ -0,0 +1,38 @@ +{ + "name": "zendframework/zend-http", + "description": "provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests", + "license": "BSD-3-Clause", + "keywords": [ + "zf2", + "http" + ], + "homepage": "https://github.com/zendframework/zend-http", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev", + "dev-develop": "2.6-dev" + } + }, + "require": { + "php": "^5.5 || ^7.0", + "zendframework/zend-loader": "^2.5", + "zendframework/zend-stdlib": "^2.5 || ^3.0", + "zendframework/zend-uri": "^2.5", + "zendframework/zend-validator": "^2.5" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/PHPUnit": "^4.0", + "zendframework/zend-config": "^2.5" + }, + "autoload": { + "psr-4": { + "Zend\\Http\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "ZendTest\\Http\\": "test/" + } + } +} diff --git a/php-zendframework-zend-http.spec b/php-zendframework-zend-http.spec index c89fb30..a2609cf 100644 --- a/php-zendframework-zend-http.spec +++ b/php-zendframework-zend-http.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 7b920b4ec34b5ee58f76eb4e8c408b083121953c +%global gh_commit 98b1cac0bc7a91497c5898184281abcd0e24c8d6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-http @@ -20,7 +20,7 @@ %endif Name: php-%{gh_owner}-%{gh_project} -Version: 2.5.4 +Version: 2.5.5 Release: 1%{?dist} Summary: Zend Framework %{library} component @@ -130,11 +130,22 @@ Zend\Loader\AutoloaderFactory::factory(array( require_once '%{php_home}/Zend/autoload.php'; EOF -%{_bindir}/phpunit --include-path=%{buildroot}%{php_home} - -if which php70; then - php70 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} +# remirepo:11 +ret=0 +run=0 +if which php56; then + php56 %{_bindir}/phpunit || ret=1 + run=1 +fi +if which php71; then + php71 %{_bindir}/phpunit || ret=1 + run=1 fi +if [ $run -eq 0 ]; then +%{_bindir}/phpunit --verbose +# remirepo:2 +fi +exit $ret %else : Test suite disabled %endif @@ -154,6 +165,9 @@ rm -rf %{buildroot} %changelog +* Mon Aug 8 2016 Remi Collet <remi@fedoraproject.org> - 2.5.5-1 +- version 2.5.5 + * Fri Feb 5 2016 Remi Collet <remi@fedoraproject.org> - 2.5.4-1 - version 2.5.4 |