summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-file-iterator3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-php-file-iterator3.spec')
-rw-r--r--php-phpunit-php-file-iterator3.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/php-phpunit-php-file-iterator3.spec b/php-phpunit-php-file-iterator3.spec
index 992e40e..43112fb 100644
--- a/php-phpunit-php-file-iterator3.spec
+++ b/php-phpunit-php-file-iterator3.spec
@@ -8,7 +8,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 354d4a5faa7449a377a18b94a2026ca3415e3d7a
+%global gh_commit 4ac5b3e13df14829daa60a2eb4fdd2f2b7d33cf4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-file-iterator
@@ -28,7 +28,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 3.0.0
+Version: 3.0.1
Release: 1%{?dist}
Summary: FilterIterator implementation that filters files based on a list of suffixes
@@ -40,8 +40,7 @@ BuildArch: noarch
%if %{with_tests}
# From composer.json, "require-dev"
# "phpunit/phpunit": "^9.0"
-# TODO test suite passes with v8, switch to v9 when available
-BuildRequires: phpunit8
+BuildRequires: phpunit9
BuildRequires: php(language) >= 7.3
BuildRequires: php-pcre
BuildRequires: php-spl
@@ -87,10 +86,10 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
-for cmd in php php73 php74; do
+for cmd in php php73 php74 php80; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
- %{_bindir}/phpunit8 --verbose || ret=1
+ %{_bindir}/phpunit9 --verbose || ret=1
fi
done
exit $ret
@@ -109,6 +108,9 @@ exit $ret
%changelog
+* Sat Apr 18 2020 Remi Collet <remi@remirepo.net> - 3.0.1-1
+- update to 3.0.1
+
* Fri Feb 7 2020 Remi Collet <remi@remirepo.net> - 3.0.0-1
- update to 3.0.0
- raise dependency on PHP 7.3