Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Remi Collet
120e55cfa6 v1.1.1
(cherry picked from commit a311acb8c7)
2024-04-09 08:50:37 +02:00
3 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
/php-yoast-phpunit-polyfills-1.0.3-5ea3536.tgz
/php-yoast-phpunit-polyfills-1.0.4-3c621ff.tgz
/php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz
/php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz

View file

@ -1,13 +1,13 @@
# remirepo/fedora spec file for php-yoast-phpunit-polyfills
#
# Copyright (c) 2020-2023 Remi Collet
# Copyright (c) 2020-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please preserve changelog entries
#
# Github
%global gh_commit 3b59adeef77fb1c03ff5381dbb9d68b0aaff3171
%global gh_commit a0f7d708794a738f328d7b6c94380fd1d6c40446
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner Yoast
%global gh_project PHPUnit-Polyfills
@ -23,8 +23,8 @@
%global php_home %{_datadir}/php
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 1.0.5
Release: 2%{?dist}
Version: 1.1.1
Release: 1%{?dist}
Summary: Set of polyfills for changed PHPUnit functionality
License: BSD-3-Clause
@ -90,21 +90,18 @@ EOF
: Run upstream test suite
ret=0
if [ -x %{_bindir}/phpunit ]; then
%{_bindir}/phpunit --no-coverage || ret=1
fi
if [ -x %{_bindir}/phpunit7 ]; then
%{_bindir}/phpunit7 --no-coverage || ret=1
fi
if [ -x %{_bindir}/phpunit8 ]; then
for cmd in php php80 php81 php82; do
for cmd in php php81 php82 php83; do
if which $cmd; then
$cmd %{_bindir}/phpunit8 --no-coverage || ret=1
fi
done
fi
if [ -x %{_bindir}/phpunit9 ]; then
for cmd in php php80 php81 php82; do
for cmd in php php81 php82 php83; do
if which $cmd; then
$cmd %{_bindir}/phpunit9 --no-coverage || ret=1
fi
@ -123,6 +120,9 @@ exit $ret
%changelog
* Tue Apr 9 2024 Remi Collet <remi@remirepo.net> - 1.1.1-1
- update to 1.1.1
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz) = 3596d3d81302ac2edb073829427ef6ce5086e199bc9495400310e21f9200164e8acef9af393141877fb3903bcbd9591d9e5c4d6319ca0f06616cf40d9d56a9d0
SHA512 (php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz) = 5485d22a0122deb3b3af6247bf19b2775c5e3bbdc07ec78c3f535a254f7ac3c23ae3dd49d624625b20e48d070cbe43781dcf488126ceffbf5e4189ff812d3098