diff --git a/.gitignore b/.gitignore index 82dff5f..f0e6bf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /php-league-container4-4.2.0-375d13cb828649599ef5d48a339c4af7a26cd0ab.tar.gz +/php-league-container4-4.2.2-ff346319ca1ff0e78277dc2311a42107cc1aab88.tar.gz +/php-league-container4-4.2.3-72f9bebe7bd623007782a40f5ec305661ab706d8.tar.gz +/php-league-container4-4.2.4-7ea728b013b9a156c409c6f0fc3624071b742dec.tar.gz diff --git a/php-league-container4.spec b/php-league-container4.spec index 31d9b5a..3e458b3 100644 --- a/php-league-container4.spec +++ b/php-league-container4.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-league-container4 # -# Copyright (c) 2016-2021 Shawn Iwinski +# Copyright (c) 2016-2024 Shawn Iwinski # Remi Collet # # License: MIT @@ -11,8 +11,8 @@ %global github_owner thephpleague %global github_name container -%global github_version 4.2.0 -%global github_commit 375d13cb828649599ef5d48a339c4af7a26cd0ab +%global github_version 4.2.4 +%global github_commit 7ea728b013b9a156c409c6f0fc3624071b742dec %global major 4 @@ -32,7 +32,7 @@ Name: php-%{composer_vendor}-%{composer_project}%{major} Version: %{github_version} -Release: 5%{?github_release}%{?dist} +Release: 1%{?github_release}%{?dist} Summary: A fast and intuitive dependency injection container version %{major} License: MIT @@ -124,13 +124,9 @@ sed -e '/log/d' -i phpunit.xml RETURN_CODE=0 # TODO PHP 8.1, Call to undefined method ReflectionUnionType::getName() PHPUNIT=$(which phpunit8) -for PHP_EXEC in php php74 php80 php81; do +for PHP_EXEC in php php81 php82 php83 php84; do if which $PHP_EXEC; then - FILTER="" - VER=$($PHP_EXEC -r 'echo PHP_VERSION_ID;') - if [ $VER -ge 80100 ]; then - FILTER="--filter '^((?!(testResolverResolvesArgumentsViaReflection|testResolverThrowsExceptionWhenReflectionDoesNotResolve)).)*\$'" - fi + FILTER="--filter '^((?!(testResolverResolvesArgumentsViaReflection|testResolverThrowsExceptionWhenReflectionDoesNotResolve)).)*\$'" $PHP_EXEC $PHPUNIT $FILTER \ --bootstrap bootstrap.php \ --verbose || RETURN_CODE=1 @@ -153,6 +149,12 @@ exit $RETURN_CODE %changelog +* Tue Nov 12 2024 Remi Collet - 4.2.4-1 +- update to 4.2.4 + +* Wed Mar 13 2024 Remi Collet - 4.2.2-1 +- update to 4.2.2 + * Fri Jul 21 2023 Fedora Release Engineering - 4.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index b0acf6a..f017916 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-league-container4-4.2.0-375d13cb828649599ef5d48a339c4af7a26cd0ab.tar.gz) = ae0ed148d80404a8cc23c22bbdc1f47e4a7268e5160f19d125bca07ecbdf098ebb334726daba3557252168933f5db3e2c79f82c4dea1d67976829832185da73c +SHA512 (php-league-container4-4.2.4-7ea728b013b9a156c409c6f0fc3624071b742dec.tar.gz) = d5c1eab89f63eff564232166d65577f4713b8de84741ad4bfe34855d196868564ef61c3f4ba00596ca4a22fd2ab903f950b3adb53cec7cbd325990602fccdce8