summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpdocumentor-reflection-docblock4.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-phpdocumentor-reflection-docblock4.spec b/php-phpdocumentor-reflection-docblock4.spec
index da2728d..c8789bf 100644
--- a/php-phpdocumentor-reflection-docblock4.spec
+++ b/php-phpdocumentor-reflection-docblock4.spec
@@ -1,6 +1,6 @@
# Fedora/remirepo spec file for php-phpdocumentor-reflection-docblock4
#
-# Copyright (c) 2017-2020 Remi Collet, Shawn Iwinski
+# Copyright (c) 2017-2021 Remi Collet, Shawn Iwinski
# 2014-2015 Remi Collet
#
# License: CC-BY-SA
@@ -17,7 +17,7 @@
Name: php-phpdocumentor-reflection-docblock%{major}
Version: 4.3.4
-Release: 1%{?dist}
+Release: 4%{?dist}
Summary: DocBlock parser
License: MIT
@@ -55,7 +55,7 @@ BuildRequires: (php-composer(mockery/mockery) >= 1.0 with php-composer(mockery/m
%else
BuildRequires: php-mockery >= 1.0
%endif
-BuildRequires: phpunit6 >= 6.4
+BuildRequires: phpunit7
# From phpcompatinfo report for 4.3.2
BuildRequires: php-reflection
BuildRequires: php-filter
@@ -161,7 +161,7 @@ RETURN_CODE=0
for PHP_EXEC in php php71 php72 php73 php74; do
if which $PHP_EXEC; then
$PHP_EXEC -d auto_prepend_file=$PWD/bootstrap.php \
- %{_bindir}/phpunit6 \
+ %{_bindir}/phpunit7 \
--bootstrap bootstrap.php \
--verbose || RETURN_CODE=1
fi
@@ -183,6 +183,9 @@ exit $RETURN_CODE
%changelog
+* Fri Jan 29 2021 Remi Collet <remi@remirepo.net> - 4.3.4-4
+- switch to phpunit7 and fix FTBFS
+
* Fri Jan 3 2020 Remi Collet <remi@remirepo.net> - 4.3.4-1
- update to 4.3.4