summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-03-24 15:09:27 +0100
committerRemi Collet <remi@remirepo.net>2021-03-24 15:09:27 +0100
commita318dcb6abdde7b426e45abab7cdad549c6622fa (patch)
treecf42980251d7bd9a91036720c31c2aa379beb606
parent6e8f2d8d4c19997790b6e9047fff9184d31cd60a (diff)
switch to phpunit7HEADmaster
-rw-r--r--php-sebastian-global-state2.spec14
1 files 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 <remi@fedoraproject.org> - 2.0.0-10
+- switch to phpunit7
+
* Fri Apr 28 2017 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
- rename to php-sebastian-global-state2
- update to 2.0.0