diff options
| -rw-r--r-- | composer.json | 4 | ||||
| -rwxr-xr-x | makesrc.sh | 4 | ||||
| -rw-r--r-- | php-phpunit-php-file-iterator5.spec | 21 |
3 files changed, 14 insertions, 15 deletions
diff --git a/composer.json b/composer.json index 525526d..8653c22 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.3" }, "autoload": { "classmap": [ @@ -40,7 +40,7 @@ }, "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "5.1-dev" } } } @@ -17,11 +17,11 @@ else echo "Cloning..." rm -rf $PROJECT-$COMMIT - git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1 + git clone --branch ${VERSION:0:3} --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1 echo "Getting commit..." pushd $PROJECT-$COMMIT - git checkout $COMMIT || exit1 + git checkout $COMMIT || exit 1 cp composer.json ../composer.json popd diff --git a/php-phpunit-php-file-iterator5.spec b/php-phpunit-php-file-iterator5.spec index 4209073..65d7cb2 100644 --- a/php-phpunit-php-file-iterator5.spec +++ b/php-phpunit-php-file-iterator5.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpunit-php-file-iterator5 # -# Copyright (c) 2009-2025 Christof Damian, Remi Collet +# Copyright (c) 2009-2026 Christof Damian, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -11,11 +11,11 @@ # disabled until phpunit11 available %bcond_without tests -%global gh_commit 118cfaaa8bc5aef3287bf315b6060b1174754af6 +%global gh_commit 2f3a64888c814fc235386b7387dd5b5ed92ad903 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-file-iterator -%global gh_date 2024-08-27 +%global gh_date 2026-02-02 %global php_home %{_datadir}/php # Packagist %global pk_vendor phpunit @@ -27,7 +27,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.1.0 +Version: 5.1.1 Release: 1%{?dist} Summary: FilterIterator implementation based on a list of suffixes, version %{major} @@ -39,12 +39,10 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 8.2 -BuildRequires: php-pcre -BuildRequires: php-spl %if %{with tests} # From composer.json, "require-dev" -# "phpunit/phpunit": "^11.0" -BuildRequires: phpunit11 +# "phpunit/phpunit": "^11.3" +BuildRequires: phpunit11 >= 11.3 %endif BuildRequires: php-fedora-autoloader-devel @@ -52,8 +50,6 @@ BuildRequires: php-fedora-autoloader-devel # "php": ">=8.2" Requires: php(language) >= 8.2 # From phpcompatinfo report for 4.0.0 -Requires: php-pcre -Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -91,7 +87,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php82 php83 php84; do +for cmd in php php82 php83 php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit11 || ret=1 @@ -111,6 +107,9 @@ exit $ret %changelog +* Tue Feb 3 2026 Remi Collet <remi@remirepo.net> - 5.1.1-1 +- update to 5.1.1 + * Tue Feb 4 2025 Remi Collet <remi@remirepo.net> - 5.1.0-2 - enable test suite |
