From c622703d84b241249ac0eec20bfa7e6f90a08cba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 23 Mar 2018 12:37:04 +0100 Subject: switch to phpunit6 and php-mock2 --- php-zendframework-zend-session.spec | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/php-zendframework-zend-session.spec b/php-zendframework-zend-session.spec index 07d8583..961bf78 100644 --- a/php-zendframework-zend-session.spec +++ b/php-zendframework-zend-session.spec @@ -21,7 +21,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.8.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zend Framework %{library} component License: BSD @@ -59,10 +59,7 @@ BuildRequires: (php-autoloader(%{gh_owner}/zend-db) >= 2.7 wit BuildRequires: (php-autoloader(%{gh_owner}/zend-http) >= 2.5.4 with php-autoloader(%{gh_owner}/zend-http) < 3) BuildRequires: (php-autoloader(%{gh_owner}/zend-servicemanager) >= 2.7.5 with php-autoloader(%{gh_owner}/zend-servicemanager) < 4) BuildRequires: (php-autoloader(%{gh_owner}/zend-validator) >= 2.6 with php-autoloader(%{gh_owner}/zend-validator) < 3) -# v2 doesn't exist yet in repository -# TODO only PHPUnit 5 as php-mock v2 required by PHPUnit 6 -BuildRequires: (php-composer(php-mock/php-mock-phpunit) >= 1.1.2 with php-composer(php-mock/php-mock-phpunit) < 2) -# remirepo:11 +# remirepo:9 %else BuildRequires: php-composer(container-interop/container-interop) < 2 BuildRequires: php-composer(container-interop/container-interop) >= 1.1 @@ -71,10 +68,9 @@ BuildRequires: php-autoloader(%{gh_owner}/zend-db) >= 2.7 BuildRequires: php-autoloader(%{gh_owner}/zend-http) >= 2.5.4 BuildRequires: php-autoloader(%{gh_owner}/zend-servicemanager) >= 2.7.5 BuildRequires: php-autoloader(%{gh_owner}/zend-validator) >= 2.6 -BuildRequires: php-composer(php-mock/php-mock-phpunit) < 2 -BuildRequires: php-composer(php-mock/php-mock-phpunit) >= 1.1.2 %endif -BuildRequires: php-phpunit-PHPUnit >= 5.7.15 +BuildRequires: phpunit6 +BuildRequires: php-mock-phpunit2 >= 2.1.0 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel @@ -174,7 +170,7 @@ cat << 'EOF' | tee vendor/autoload.php - 2.8.5-2 +- switch to phpunit6 and php-mock2 + * Fri Feb 23 2018 Remi Collet - 2.8.5-1 - Update to 2.8.5 (no change) - use range dependencies on F27+ -- cgit