This commit is contained in:
Remi Collet 2020-04-20 08:36:55 +02:00
commit 05f4dfaa39
3 changed files with 10 additions and 7 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/php-phpunit-php-file-iterator3-3.0.0-354d4a5.tar.gz
/php-phpunit-php-file-iterator3-3.0.1-4ac5b3e.tar.gz

View file

@ -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
@ -107,6 +106,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

View file

@ -1 +1 @@
SHA512 (php-phpunit-php-file-iterator3-3.0.0-354d4a5.tar.gz) = 269c4ddae3f6ff399b7313e2212065ffd2caf20094a737595bbcf4d3bb97e5431fb4ac6ae18bba5aad0235712b6f3ef987a5d97566bea78d30676f405704043c
SHA512 (php-phpunit-php-file-iterator3-3.0.1-4ac5b3e.tar.gz) = c0b61d13d2a6492da83ffdbbf43cb5800f2d83f3e59fbf891039c4ce75d04994a6d0b46dfc7477294035138c2cd21f3eb2ec5de24042df2c4bac2eb3a9541eec