From 9a195f12b3d4251a57a4f4e4719a37426fb11ccb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 11 Apr 2018 13:09:01 +0200 Subject: v2.9.3 (cherry picked from commit 08fff2499d0543253229a7d41b63c1e8afe372d6) --- composer.json | 6 ++++-- php-zendframework-zend-db.spec | 16 ++++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index b4cc8c7..f9f96e4 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,8 @@ "test/autoload.php" ], "psr-4": { - "ZendTest\\Db\\": "test/" + "ZendTest\\Db\\": "test/unit", + "ZendIntegrationTest\\Db\\": "test/integration" } }, "config": { @@ -64,8 +65,9 @@ ], "cs-check": "phpcs", "cs-fix": "phpcbf", - "test": "phpunit --colors=always", + "test": "phpunit --colors=always --testsuite \"unit test\"", "test-coverage": "phpunit --colors=always --coverage-clover clover.xml", + "test-integration" : "phpunit --colors=always --testsuite \"integration test\"", "upload-coverage": "coveralls -v" } } diff --git a/php-zendframework-zend-db.spec b/php-zendframework-zend-db.spec index 1373c4e..f063b0f 100644 --- a/php-zendframework-zend-db.spec +++ b/php-zendframework-zend-db.spec @@ -1,13 +1,13 @@ # remirepo/Fedora spec file for php-zendframework-zend-db # -# 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 1651abb1b33fc8fbd2d78ff9e2abb526cc2cf666 +%global gh_commit 5b4f2c42f94c9f7f4b2f456a0ebe459fab12b3d9 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zendframework %global gh_project zend-db @@ -24,8 +24,8 @@ # must be compatible with PHPUnit\Framework\TestListener::addError(PHPUnit\Framework\Test $test, Exception $e, $time) ... Name: php-%{gh_owner}-%{gh_project} -Version: 2.9.2 -Release: 1%{?dist} +Version: 2.9.3 +Release: 2%{?dist} Summary: Zend Framework %{library} component Group: Development/Libraries @@ -136,11 +136,12 @@ cat << 'EOF' | tee vendor/autoload.php # comptibility layer before PSR-0 autoloader require_once dirname(__DIR__) . '/test/autoload.php'; require_once '%{buildroot}%{php_home}/Zend/%{library}/autoload.php'; -\Fedora\Autoloader\Autoload::addPsr4('ZendTest\\%{library}\\', dirname(__DIR__) . '/test'); +\Fedora\Autoloader\Autoload::addPsr4('ZendTest\\%{library}\\', dirname(__DIR__) . '/test/unit'); +\Fedora\Autoloader\Autoload::addPsr4('ZendIntegrationTest\\%{library}\\', dirname(__DIR__) . '/test/integration'); 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} --verbose || ret=1 @@ -161,6 +162,9 @@ exit $ret %changelog +* Wed Apr 11 2018 Remi Collet - 2.9.3-2 +- update to 2.9.3 + * Tue Dec 12 2017 Remi Collet - 2.9.2-1 - Update to 2.9.2 -- cgit