summaryrefslogtreecommitdiffstats
path: root/php-phpdocumentor-reflection-common2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpdocumentor-reflection-common2.spec')
-rw-r--r--php-phpdocumentor-reflection-common2.spec13
1 files changed, 8 insertions, 5 deletions
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 <remi@remirepo.net> - 2.2.0-4
+- switch to phpunit7
+
* Mon Jun 29 2020 Remi Collet <remi@remirepo.net> - 2.2.0-1
- update to 2.2.0
- raise dependency on PHP 7.2