update phpunitgoodpractices/polyfill to 1.6.0

update phpunitgoodpractices/traits to 1.9.2
This commit is contained in:
Remi Collet 2022-09-12 13:58:45 +02:00
commit 4fb66f6c3d
3 changed files with 20 additions and 12 deletions

3
.gitignore vendored
View file

@ -2,3 +2,6 @@ clog
/php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz
/php-phpunitgoodpractices-polyfill-1.5.0-b87c59f.tgz
/php-sanmai-phpunit-legacy-adapter-8.1-464c750.tgz
/php-phpunitgoodpractices-polyfill-1.6.0-625622f.tgz
/php-phpunitgoodpractices-traits-1.9.2-067b87d.tgz
/php-sanmai-phpunit-legacy-adapter-8.2.1-3db58a3.tgz

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-phpunitgoodpractices-polyfill
#
# Copyright (c) 2018-2020 Remi Collet
# Copyright (c) 2018-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -11,7 +11,7 @@
# Polyfill
# https://github.com/PHPUnitGoodPractices/polyfill/releases
%global gh_commit b87c59f0d3df764d0dcf8154e18be69fe6cb5cba
%global gh_commit 625622fc35e922c04f28e448b43d85972be95040
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner PHPUnitGoodPractices
%global gh_project polyfill
@ -24,20 +24,20 @@
%global php_home %{_datadir}/php
# Traits
# https://github.com/PHPUnitGoodPractices/Traits/releases
%global tr_commit 1f56f643aaa3e98f22acf71129109479afb9ef33
%global tr_commit 067b87ddc903231f07f89161f10f1ab8b393a6a1
%global tr_short %(c=%{tr_commit}; echo ${c:0:7})
%global tr_version 1.9.1
%global tr_version 1.9.2
# Legacy
# https://github.com/sanmai/phpunit-legacy-adapter/releases
%global lg_owner sanmai
%global lg_project phpunit-legacy-adapter
%global lg_commit 464c7505c15c487239ac696a82097c765f38a2a1
%global lg_commit 3db58a31847d803f76cab3da14e334a2d090c067
%global lg_short %(c=%{lg_commit}; echo ${c:0:7})
%global lg_version 8.1
%global lg_version 8.2.1
Name: php-%{pk_vendor}-%{pk_project}
Version: 1.5.0
Release: 6%{?dist}
Version: 1.6.0
Release: 1%{?dist}
Summary: Lacking future-compat polyfills for PHPUnit
License: MIT
@ -62,6 +62,7 @@ BuildRequires: %{phpunit}
# "friendsofphp/php-cs-fixer": "^2",
# "php-coveralls/php-coveralls": "^2.4"
# From traits, composer.json, "require-dev": {
# "phpspec/prophecy": "^1.10",
# "phpunitgoodpractices/polyfill": "^1.1",
# "sanmai/phpunit-legacy-adapter": "^6.1 || ^8.0"
%endif
@ -163,7 +164,7 @@ require dirname(__DIR__) . '/src3/TestCase.php';
EOF
ret=0
for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80
for cmdarg in "php %{phpunit}" php74 php80 php81 php82
do
if which $cmdarg; then
set $cmdarg
@ -189,6 +190,10 @@ exit $ret
%changelog
* Mon Sep 12 2022 Remi Collet <remi@remirepo.net> - 1.6.0-1
- update phpunitgoodpractices/polyfill to 1.6.0
- update phpunitgoodpractices/traits to 1.9.2
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View file

@ -1,3 +1,3 @@
SHA512 (php-phpunitgoodpractices-polyfill-1.5.0-b87c59f.tgz) = 4f5ba02c41ea6c9bb0865e1103280b6c73d34b67fcc0b74debd24ed95aad7735f6d53fcd2c165f3c8e462e25d695580d250a9525103ad796942ee44ba1e773fd
SHA512 (php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz) = f80bd879abf7d9a474241cd43c30e817ef1c2db7f9669f02c57b7d9ac8e971ad7a0c05dafa59932b27d8d03a0a345794cfedfac1504985eed047611b8eb6291a
SHA512 (php-sanmai-phpunit-legacy-adapter-8.1-464c750.tgz) = 4f5704608294fdecdbc5345fba88471d13cd33156f0c5c27287413087fce74a2ebc7dbb6f0ad67563e950312f315012597ae03fda8cdad2396dd50905002f688
SHA512 (php-phpunitgoodpractices-polyfill-1.6.0-625622f.tgz) = 395ba8cf5a5c1d889c7f585233d092ed2650543a4c26d397a5d0c05dc120fdd6c447d4521873a6158a0cb617269b7fc29dc3abdb1204b8221b92bf808026758e
SHA512 (php-phpunitgoodpractices-traits-1.9.2-067b87d.tgz) = 7fbee163394c291cc4122f9daf3f4c94876ddd435aa10908a919dd004f2b98deb721194ab652395f566ad1097f0d9c49ea2b930bc2961fb11064312c13e5e939
SHA512 (php-sanmai-phpunit-legacy-adapter-8.2.1-3db58a3.tgz) = 9b5009de6b20a7f8b9255605638a76eb035b1fd38ae2035a0d5947fe867783449aa564e14aedd5ae7951c95d0d285189bbb0ff7f505f5c73419a7deee96d2195