From 4f3d77c79730655e3a595099fea2cef654c28fe5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 Mar 2021 13:55:31 +0100 Subject: switch to phpunit7 --- php-phpdocumentor-reflection-common2.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'php-phpdocumentor-reflection-common2.spec') diff --git a/php-phpdocumentor-reflection-common2.spec b/php-phpdocumentor-reflection-common2.spec index 227d819..9faf5b2 100644 --- a/php-phpdocumentor-reflection-common2.spec +++ b/php-phpdocumentor-reflection-common2.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpdocumentor-reflection-common2 # -# Copyright (c) 2017-2019 Remi Collet, Shawn Iwinski +# Copyright (c) 2017-2021 Remi Collet, Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -28,7 +28,7 @@ Name: php-%{composer_vendor}-%{composer_project}%{major} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 4%{?github_release}%{?dist} Summary: Common reflection classes used by phpdocumentor Group: Development/Libraries @@ -44,7 +44,7 @@ BuildArch: noarch %if %{with_tests} ## composer.json BuildRequires: php(language) >= %{php_min_ver} -BuildRequires: phpunit6 +BuildRequires: phpunit7 ## phpcompatinfo (computed from version 2.0.0) BuildRequires: php-pcre BuildRequires: php-spl @@ -91,10 +91,10 @@ touch vendor/autoload.php : Upstream tests RETURN_CODE=0 -for PHP_EXEC in php php72 php73 php74 php80; do +for PHP_EXEC in php php73 php74 php80; do if which $PHP_EXEC; then $PHP_EXEC -d auto_prepend_file=$BOOTSTRAP \ - %{_bindir}/phpunit6 --verbose || RETURN_CODE=1 + %{_bindir}/phpunit7 --no-coverage --verbose || RETURN_CODE=1 fi done exit $RETURN_CODE @@ -120,6 +120,9 @@ exit $RETURN_CODE %changelog +* Tue Mar 23 2021 Remi Collet - 2.2.0-4 +- switch to phpunit7 + * Mon Jun 29 2020 Remi Collet - 2.2.0-1 - update to 2.2.0 - raise dependency on PHP 7.2 -- cgit