(cherry picked from commit 554a56310f)
This commit is contained in:
Remi Collet 2023-08-31 10:15:47 +02:00
commit 91fa1f2b25
3 changed files with 10 additions and 6 deletions

View file

@ -8,10 +8,9 @@
# Please, preserve the changelog entries
#
# disabled until phpunit10 available
%bcond_with tests
%bcond_without tests
%global gh_commit 5647d65443818959172645e7ed999217360654b6
%global gh_commit a95037b6d9e608ba092da1b23931e537cadc3c3c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-file-iterator
@ -26,7 +25,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 4.0.2
Version: 4.1.0
Release: 1%{?dist}
Summary: FilterIterator implementation based on a list of suffixes, version %{major}
@ -89,7 +88,7 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
for cmd in php php81 php82; do
for cmd in php php81 php82 php83; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit10 || ret=1
@ -109,6 +108,10 @@ exit $ret
%changelog
* Thu Aug 31 2023 Remi Collet <remi@remirepo.net> - 4.1.0-1
- update to 4.1.0
- Enable test suite
* Tue May 9 2023 Remi Collet <remi@remirepo.net> - 4.0.2-1
- update to 4.0.2