From a318dcb6abdde7b426e45abab7cdad549c6622fa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Mar 2021 15:09:27 +0100 Subject: switch to phpunit7 --- php-sebastian-global-state2.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/php-sebastian-global-state2.spec b/php-sebastian-global-state2.spec index d8992a1..5101263 100644 --- a/php-sebastian-global-state2.spec +++ b/php-sebastian-global-state2.spec @@ -1,6 +1,6 @@ # spec file for php-sebastian-global-state2 # -# Copyright (c) 2014-2017 Remi Collet +# Copyright (c) 2014-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -25,10 +25,9 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.0 -Release: 1%{?dist} +Release: 10%{?dist} Summary: Snapshotting of global state -Group: Development/Libraries License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz @@ -42,7 +41,7 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0 %if %{with_tests} # from composer.json, "require-dev": { # "phpunit/phpunit": "^6.0" -BuildRequires: phpunit6 +BuildRequires: phpunit7 %endif # from composer.json, "require": { @@ -96,10 +95,10 @@ EOF : Run upstream test suite ret=0 -for cmd in php php70 php71 php72; do +for cmd in php php73 php74 php80; do if which $cmd; then $cmd -d include_path=.:%{buildroot}%{php_home}:%{php_home} \ - %{_bindir}/phpunit6 --verbose || ret=1 + %{_bindir}/phpunit7 --verbose || ret=1 fi done exit $ret @@ -119,6 +118,9 @@ exit $ret %changelog +* Wed Mar 24 2021 Remi Collet - 2.0.0-10 +- switch to phpunit7 + * Fri Apr 28 2017 Remi Collet - 2.0.0-1 - rename to php-sebastian-global-state2 - update to 2.0.0 -- cgit