diff --git a/.gitignore b/.gitignore index 11408de..5a2aeed 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,3 @@ 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 diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index e19fcbe..0b10ee9 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpunitgoodpractices-polyfill # -# Copyright (c) 2018-2022 Remi Collet +# Copyright (c) 2018-2020 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 625622fc35e922c04f28e448b43d85972be95040 +%global gh_commit b87c59f0d3df764d0dcf8154e18be69fe6cb5cba %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 067b87ddc903231f07f89161f10f1ab8b393a6a1 +%global tr_commit 1f56f643aaa3e98f22acf71129109479afb9ef33 %global tr_short %(c=%{tr_commit}; echo ${c:0:7}) -%global tr_version 1.9.2 +%global tr_version 1.9.1 # Legacy # https://github.com/sanmai/phpunit-legacy-adapter/releases %global lg_owner sanmai %global lg_project phpunit-legacy-adapter -%global lg_commit 3db58a31847d803f76cab3da14e334a2d090c067 +%global lg_commit 464c7505c15c487239ac696a82097c765f38a2a1 %global lg_short %(c=%{lg_commit}; echo ${c:0:7}) -%global lg_version 8.2.1 +%global lg_version 8.1 Name: php-%{pk_vendor}-%{pk_project} -Version: 1.6.0 -Release: 8%{?dist} +Version: 1.5.0 +Release: 2%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -62,7 +62,6 @@ 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 @@ -164,7 +163,7 @@ require dirname(__DIR__) . '/src3/TestCase.php'; EOF ret=0 -for cmdarg in "php %{phpunit}" php74 php80 php81 php82 +for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80 do if which $cmdarg; then set $cmdarg @@ -190,43 +189,6 @@ exit $ret %changelog -* Fri Jul 25 2025 Fedora Release Engineering - 1.6.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jan 18 2025 Fedora Release Engineering - 1.6.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 19 2024 Fedora Release Engineering - 1.6.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Jan 25 2024 Fedora Release Engineering - 1.6.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 1.6.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jul 21 2023 Fedora Release Engineering - 1.6.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Jan 20 2023 Fedora Release Engineering - 1.6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Mon Sep 12 2022 Remi Collet - 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 - 1.5.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering - 1.5.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.5.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.5.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - * Tue Dec 8 2020 Remi Collet - 1.5.0-2 - enable upstream test suite @@ -238,9 +200,6 @@ exit $ret - update phpunitgoodpractices/traits to 1.9.1 - allow PHPUnit 9 -* Tue Jul 28 2020 Fedora Release Engineering - 1.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - * Thu Jan 30 2020 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 0e4bdff..abdb984 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -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 +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