Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c64482e866 |
3 changed files with 11 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/php-league-container4-4.2.0-375d13cb828649599ef5d48a339c4af7a26cd0ab.tar.gz
|
||||
/php-league-container4-4.2.2-ff346319ca1ff0e78277dc2311a42107cc1aab88.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# remirepo/fedora spec file for php-league-container4
|
||||
#
|
||||
# Copyright (c) 2016-2021 Shawn Iwinski <shawn@iwin.ski>
|
||||
# Copyright (c) 2016-2024 Shawn Iwinski <shawn@iwin.ski>
|
||||
# Remi Collet <remi@remirepo.net>
|
||||
#
|
||||
# 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.2
|
||||
%global github_commit ff346319ca1ff0e78277dc2311a42107cc1aab88
|
||||
|
||||
%global major 4
|
||||
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
Name: php-%{composer_vendor}-%{composer_project}%{major}
|
||||
Version: %{github_version}
|
||||
Release: 4%{?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; 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,9 @@ exit $RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 13 2024 Remi Collet <remi@remirepo.net> - 4.2.2-1
|
||||
- update to 4.2.2
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-league-container4-4.2.0-375d13cb828649599ef5d48a339c4af7a26cd0ab.tar.gz) = ae0ed148d80404a8cc23c22bbdc1f47e4a7268e5160f19d125bca07ecbdf098ebb334726daba3557252168933f5db3e2c79f82c4dea1d67976829832185da73c
|
||||
SHA512 (php-league-container4-4.2.2-ff346319ca1ff0e78277dc2311a42107cc1aab88.tar.gz) = cf72cec021efbc9c3bef723ee715b43a5f78fe22874bf39f573a021b857e2c318a75f461ddff3149da36b64e5a703d2884a6a188be31e88a5acbc431a618cc08
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue