(cherry picked from commit 8068d76bba)
This commit is contained in:
Remi Collet 2021-12-02 16:02:03 +01:00
commit b6cf249d06
3 changed files with 9 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-phpunit-php-file-iterator2
#
# Copyright (c) 2009-2018 Christof Damian, Remi Collet
# Copyright (c) 2009-2021 Christof Damian, Remi Collet
#
# License: MIT
# http://opensource.org/licenses/MIT
@ -8,7 +8,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
%global gh_commit 28af674ff175d0768a5a978e6de83f697d4a7f05
%global gh_commit 42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5
%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: 2.0.4
Version: 2.0.5
Release: 1%{?dist}
Summary: FilterIterator implementation that filters files based on a list of suffixes
@ -86,7 +86,7 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
for cmd in php php73 php74 php80 php81; do
for cmd in php php74 php80 php81; 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
@ -106,6 +106,9 @@ exit $ret
%changelog
* Thu Dec 2 2021 Remi Collet <remi@remirepo.net> - 2.0.5-1
- update to 2.0.5
* Mon Jul 19 2021 Remi Collet <remi@remirepo.net> - 2.0.4-1
- update to 2.0.4