diff options
Diffstat (limited to 'php-league-container4.spec')
-rw-r--r-- | php-league-container4.spec | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/php-league-container4.spec b/php-league-container4.spec index 29ad740..41165c0 100644 --- a/php-league-container4.spec +++ b/php-league-container4.spec @@ -11,8 +11,8 @@ %global github_owner thephpleague %global github_name container -%global github_version 4.2.2 -%global github_commit ff346319ca1ff0e78277dc2311a42107cc1aab88 +%global github_version 4.2.3 +%global github_commit 72f9bebe7bd623007782a40f5ec305661ab706d8 %global major 4 @@ -49,14 +49,7 @@ BuildArch: noarch ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: phpunit8 >= 8.5.17 -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(psr/container) >= %{psr_container_min_ver} with php-composer(psr/container) < %{psr_container_max_ver}) -# remirepo:4 -%else -BuildRequires: php-composer(psr/container) >= %{psr_container_min_ver} -BuildRequires: php-composer(psr/container) < %{psr_container_max_ver} -%endif ## phpcompatinfo (computed from version 3.2.2) BuildRequires: php-reflection BuildRequires: php-spl @@ -66,14 +59,7 @@ BuildRequires: php-composer(fedora/autoloader) # composer.json Requires: php(language) >= %{php_min_ver} -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(psr/container) >= %{psr_container_min_ver} with php-composer(psr/container) < %{psr_container_max_ver}) -# remirepo:4 -%else -Requires: php-composer(psr/container) >= %{psr_container_min_ver} -Requires: php-composer(psr/container) < %{psr_container_max_ver} -%endif # phpcompatinfo (computed from version 3.3.5) Requires: php-reflection Requires: php-spl @@ -138,7 +124,7 @@ 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 php81 php82 php83; do +for PHP_EXEC in php php81 php82 php83 php84; do if which $PHP_EXEC; then FILTER="--filter '^((?!(testResolverResolvesArgumentsViaReflection|testResolverThrowsExceptionWhenReflectionDoesNotResolve)).)*\$'" $PHP_EXEC $PHPUNIT $FILTER \ @@ -153,8 +139,6 @@ exit $RETURN_CODE %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE.md %doc CHANGELOG.md %doc composer.json @@ -165,6 +149,9 @@ exit $RETURN_CODE %changelog +* Wed Oct 23 2024 Remi Collet <remi@remirepo.net> - 4.2.3-1 +- update to 4.2.3 + * Wed Mar 13 2024 Remi Collet <remi@remirepo.net> - 4.2.2-1 - update to 4.2.2 |