From 05f4dfaa39502cb95d67f03c15b152ec24041234 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2020 08:36:55 +0200 Subject: [PATCH] v3.0.1 --- .gitignore | 1 + php-phpunit-php-file-iterator3.spec | 14 ++++++++------ sources | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b441fa5..5153502 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-phpunit-php-file-iterator3.spec b/php-phpunit-php-file-iterator3.spec index 0d8cc0e..74e6fd7 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 @@ -107,6 +106,9 @@ exit $ret %changelog +* Sat Apr 18 2020 Remi Collet - 3.0.1-1 +- update to 3.0.1 + * Fri Feb 7 2020 Remi Collet - 3.0.0-1 - update to 3.0.0 - raise dependency on PHP 7.3 diff --git a/sources b/sources index 555af03..fcc7cc3 100644 --- a/sources +++ b/sources @@ -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