From 815b1d99cb6ca3fcc38c311cb2fe53852001aea6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 22:03:48 +0000 Subject: [PATCH 01/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index baa8711..fe174f9 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -27,7 +27,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lacking future-compat polyfills for PHPUnit Group: Development/Tools @@ -140,6 +140,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jun 25 2018 Remi Collet - 1.1.0-2 - add mandatory dependency on one PHPUnit version - add phpunitgoodpractices/traits 1.5.1 From 5955aaa8e8ee31150e231832948af806406f0be6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Sep 2018 15:33:09 +0200 Subject: [PATCH 02/24] update phpunitgoodpractices/traits to 1.6.0 --- .gitignore | 1 + php-phpunitgoodpractices-polyfill.spec | 9 ++++++--- sources | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4488815..dff13a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-phpunitgoodpractices-polyfill-1.0.0-3968a1f.tgz /php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz /php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz +/php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index fe174f9..b5bf08f 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -21,13 +21,13 @@ %global php_home %{_datadir}/php %global with_tests 0%{!?_without_tests:1} # Traits -%global tr_commit 10d22ad5e222b5e5eae6941aac91c068397b5127 +%global tr_commit d3d74de03f733d0b6afb7734f48d944ee65cf83c %global tr_short %(c=%{tr_commit}; echo ${c:0:7}) -%global tr_version 1.5.1 +%global tr_version 1.6.0 Name: php-%{pk_vendor}-%{pk_project} Version: 1.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lacking future-compat polyfills for PHPUnit Group: Development/Tools @@ -140,6 +140,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Tue Sep 4 2018 Remi Collet - 1.1.0-4 +- update phpunitgoodpractices/traits to 1.6.0 + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 67490d9..a05ac45 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz) = f6d536bbace9762d3a20129854caef4cddca450f7f07a767989f1d39a5df7a7faa9b08acdf4554882ed9748ce419327451ff6fa244da6e3855d8a9a7a1a5d64a -SHA512 (php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz) = 155778546bc78cdc416a882c672ab1a827623e2534fbb7e7d6ff67552ec40ee04b7fb397ca35c54457bd82a0b0785b304e9d9b872f09326cfd4a8b57fa0166ad +SHA512 (php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz) = 584b5cf27a0d21b24155a6481516e53f94bd43f233ca7d1a185e190fad72d7afb39e196bbf50bc963ecd8bc53ebe979b0d926b61bf5d15ea7dac5e2c92ee7037 +SHA512 (php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz) = a658dd7e86b9d3aa1ce6f8da44d4109da81f4219c523a3475aa3a30504c5fa892cdfb850753abf248393b4d7b5cfa6fae4e392f5dbe127671996bb96b2372c51 From d3b1637289d4fb448c157d94f583a622a0c8af48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Jan 2019 11:20:45 +0100 Subject: [PATCH 03/24] update phpunitgoodpractices/traits to 1.7.0 --- .gitignore | 1 + php-phpunitgoodpractices-polyfill.spec | 13 ++++++++----- sources | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index dff13a4..b2f5b65 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz /php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz /php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz +/php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index b5bf08f..ac1a5cb 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -21,13 +21,13 @@ %global php_home %{_datadir}/php %global with_tests 0%{!?_without_tests:1} # Traits -%global tr_commit d3d74de03f733d0b6afb7734f48d944ee65cf83c +%global tr_commit d7864f7d8eb9ee2e84eebc45baf3eace73ce2c4b %global tr_short %(c=%{tr_commit}; echo ${c:0:7}) -%global tr_version 1.6.0 +%global tr_version 1.7.0 Name: php-%{pk_vendor}-%{pk_project} Version: 1.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Lacking future-compat polyfills for PHPUnit Group: Development/Tools @@ -51,7 +51,7 @@ BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { # "php": "^5.5 || ^7.0", -# "phpunit/phpunit": "^4.0 || ^5.3 || ^6.0 || ^7.0" +# "phpunit/phpunit": ""~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0" Requires: php(language) >= 5.5 Requires: (phpunit7 or phpunit6 or php-phpunit-PHPUnit) # From phpcompatinfo report for version 1.0.0 @@ -59,9 +59,9 @@ Requires: (phpunit7 or phpunit6 or php-phpunit-PHPUnit) # Autoloader Requires: php-composer(fedora/autoloader) -Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} Provides: php-%{pk_vendor}-traits = %{tr_version} Provides: php-composer(%{pk_vendor}/traits) = %{tr_version} +Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description @@ -140,6 +140,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Sat Dec 29 2018 Remi Collet - 1.1.0-5 +- update phpunitgoodpractices/traits to 1.7.0 + * Tue Sep 4 2018 Remi Collet - 1.1.0-4 - update phpunitgoodpractices/traits to 1.6.0 diff --git a/sources b/sources index a05ac45..7f57e9c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz) = 584b5cf27a0d21b24155a6481516e53f94bd43f233ca7d1a185e190fad72d7afb39e196bbf50bc963ecd8bc53ebe979b0d926b61bf5d15ea7dac5e2c92ee7037 -SHA512 (php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz) = a658dd7e86b9d3aa1ce6f8da44d4109da81f4219c523a3475aa3a30504c5fa892cdfb850753abf248393b4d7b5cfa6fae4e392f5dbe127671996bb96b2372c51 +SHA512 (php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz) = a79effb99ddd092ab89a6b734ecac53f0458b480535b7801ae74b645a38331dbde3365f702395c3589e6582749fc839c02db32b74fe6d2e89080065d1402395a +SHA512 (php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz) = 63bdfd5a2666f9c954da540f38aa07c8928219913497b83741654b3b5442d82ec324446b14be5927cd2a720ebcaae95c68d13cd34fdfecdd35074dcf0352cb77 From acec9a556fe2f30b16f3d993f5cd558ee3531599 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:12 +0100 Subject: [PATCH 04/24] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- php-phpunitgoodpractices-polyfill.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index ac1a5cb..83ff7cc 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -30,7 +30,6 @@ Version: 1.1.0 Release: 5%{?dist} Summary: Lacking future-compat polyfills for PHPUnit -Group: Development/Tools License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to get upstream test suite (none for now) From b35b5416c9903e59547f4234a24a7e4be732ac8a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 03:34:55 +0000 Subject: [PATCH 05/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 83ff7cc..bf0a322 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -27,7 +27,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -139,6 +139,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Dec 29 2018 Remi Collet - 1.1.0-5 - update phpunitgoodpractices/traits to 1.7.0 From 1b3d13b2fcc0dba6855953f0d0897c368fd1f7ae Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Mar 2019 09:59:21 +0100 Subject: [PATCH 06/24] update phpunitgoodpractices/polyfill to 1.2.0 update phpunitgoodpractices/traits to 1.8.0 allow PHPUnit 8 --- .gitignore | 2 ++ php-phpunitgoodpractices-polyfill.spec | 22 +++++++++++++++------- sources | 4 ++-- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index b2f5b65..e0f6dfd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ /php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz /php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz /php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz +/php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz +/php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index bf0a322..cf29b39 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -7,8 +7,9 @@ # Please, preserve the changelog entries # -# Github -%global gh_commit f7c9b779e5c14ad37d27b108f2a370bb3c0312e8 +# Polyfill +# https://github.com/PHPUnitGoodPractices/polyfill/releases +%global gh_commit 1613c59be473c6b238c119607de820b9274c81fd %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner PHPUnitGoodPractices %global gh_project polyfill @@ -21,13 +22,14 @@ %global php_home %{_datadir}/php %global with_tests 0%{!?_without_tests:1} # Traits -%global tr_commit d7864f7d8eb9ee2e84eebc45baf3eace73ce2c4b +# https://github.com/PHPUnitGoodPractices/Traits/releases +%global tr_commit 7bdb460da0f9d4cfa2f11ca1ecb69a6d7f126925 %global tr_short %(c=%{tr_commit}; echo ${c:0:7}) -%global tr_version 1.7.0 +%global tr_version 1.8.0 Name: php-%{pk_vendor}-%{pk_project} -Version: 1.1.0 -Release: 6%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -52,7 +54,7 @@ BuildRequires: php-fedora-autoloader-devel # "php": "^5.5 || ^7.0", # "phpunit/phpunit": ""~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0" Requires: php(language) >= 5.5 -Requires: (phpunit7 or phpunit6 or php-phpunit-PHPUnit) +Requires: (phpunit8 or phpunit7 or phpunit6 or php-phpunit-PHPUnit) # From phpcompatinfo report for version 1.0.0 # nothing # Autoloader @@ -86,6 +88,7 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php'; if (!class_exists('PHPUnit\\Framework\\TestCase')) { // Call outside of phpunit command \Fedora\Autoloader\Dependencies::required([ [ + '%{php_home}/PHPUnit8/autoload.php', '%{php_home}/PHPUnit7/autoload.php', '%{php_home}/PHPUnit6/autoload.php', '%{php_home}/PHPUnit/Autoload.php', @@ -139,6 +142,11 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Tue Mar 26 2019 Remi Collet - 1.2.0-1 +- update phpunitgoodpractices/polyfill to 1.2.0 +- update phpunitgoodpractices/traits to 1.8.0 +- allow PHPUnit 8 + * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 7f57e9c..2febaa1 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz) = a79effb99ddd092ab89a6b734ecac53f0458b480535b7801ae74b645a38331dbde3365f702395c3589e6582749fc839c02db32b74fe6d2e89080065d1402395a -SHA512 (php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz) = 63bdfd5a2666f9c954da540f38aa07c8928219913497b83741654b3b5442d82ec324446b14be5927cd2a720ebcaae95c68d13cd34fdfecdd35074dcf0352cb77 +SHA512 (php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz) = 2c2494f948a3fb235c474fbcb7d70530a06c5973f1616aa0291094dc197ca42874aeee38563479d8e538f4fbebcebc84da114db2a51b4593f129913e14409afb +SHA512 (php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz) = 00e74a5fc639e718370d238259d2e3727197d5893e91915082eab83776b1d76682e62157fd873eb383e312182a8ca1e3093fe547d3e34fd6ef6d9632768bd289 From 54e7610f4f5880777e82dadb73e94cafd45f1071 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 10:02:21 +0000 Subject: [PATCH 07/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index cf29b39..33665b1 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -142,6 +142,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Tue Mar 26 2019 Remi Collet - 1.2.0-1 - update phpunitgoodpractices/polyfill to 1.2.0 - update phpunitgoodpractices/traits to 1.8.0 From ca8820722d581c6716170d27dff961270d9294af Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 08:33:15 +0000 Subject: [PATCH 08/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 33665b1..0f469f1 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -142,6 +142,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From c52466a997f2bb4274e63d50bf83c608ab1878a1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 22:04:18 +0000 Subject: [PATCH 09/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 0f469f1..f78df6e 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -142,6 +142,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* 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 From 85c6159b427eaf1ba12e4e472c9cf9194bc8eb55 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 20 Oct 2020 08:20:28 +0200 Subject: [PATCH 10/24] update phpunitgoodpractices/polyfill to 1.4.0 update phpunitgoodpractices/traits to 1.9.1 allow PHPUnit 9 --- .gitignore | 2 ++ php-phpunitgoodpractices-polyfill.spec | 28 ++++++++++++++++---------- sources | 4 ++-- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index e0f6dfd..603eb5c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ /php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz /php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz /php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz +/php-phpunitgoodpractices-polyfill-1.4.0-0e3754f.tgz +/php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index f78df6e..576056f 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 Remi Collet +# Copyright (c) 2018-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ # Polyfill # https://github.com/PHPUnitGoodPractices/polyfill/releases -%global gh_commit 1613c59be473c6b238c119607de820b9274c81fd +%global gh_commit 0e3754f1e31b0051eeb5a7223f9b45ba6442af0d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner PHPUnitGoodPractices %global gh_project polyfill @@ -23,13 +23,13 @@ %global with_tests 0%{!?_without_tests:1} # Traits # https://github.com/PHPUnitGoodPractices/Traits/releases -%global tr_commit 7bdb460da0f9d4cfa2f11ca1ecb69a6d7f126925 +%global tr_commit 1f56f643aaa3e98f22acf71129109479afb9ef33 %global tr_short %(c=%{tr_commit}; echo ${c:0:7}) -%global tr_version 1.8.0 +%global tr_version 1.9.1 Name: php-%{pk_vendor}-%{pk_project} -Version: 1.2.0 -Release: 4%{?dist} +Version: 1.4.0 +Release: 1%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -51,16 +51,16 @@ BuildRequires: php-fedora-autoloader-devel %endif # From composer.json, "require": { -# "php": "^5.5 || ^7.0", -# "phpunit/phpunit": ""~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0" +# "php": "^5.5 || ^7.0 || ^8.0", +# "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.0 || ^9.0" Requires: php(language) >= 5.5 -Requires: (phpunit8 or phpunit7 or phpunit6 or php-phpunit-PHPUnit) -# From phpcompatinfo report for version 1.0.0 +Requires: (phpunit9 or phpunit8 or phpunit7 or phpunit6 or php-phpunit-PHPUnit) +# From phpcompatinfo report for version polyfill 1.4.0 and traits1.9.1 # nothing # Autoloader Requires: php-composer(fedora/autoloader) -Provides: php-%{pk_vendor}-traits = %{tr_version} +Provides: php-%{pk_vendor}-traits = %{tr_version}-%{release} Provides: php-composer(%{pk_vendor}/traits) = %{tr_version} Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} @@ -88,6 +88,7 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php'; if (!class_exists('PHPUnit\\Framework\\TestCase')) { // Call outside of phpunit command \Fedora\Autoloader\Dependencies::required([ [ + '%{php_home}/PHPUnit9/autoload.php', '%{php_home}/PHPUnit8/autoload.php', '%{php_home}/PHPUnit7/autoload.php', '%{php_home}/PHPUnit6/autoload.php', @@ -142,6 +143,11 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Tue Oct 20 2020 Remi Collet - 1.4.0-1 +- update phpunitgoodpractices/polyfill to 1.4.0 +- 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 diff --git a/sources b/sources index 2febaa1..6654476 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz) = 2c2494f948a3fb235c474fbcb7d70530a06c5973f1616aa0291094dc197ca42874aeee38563479d8e538f4fbebcebc84da114db2a51b4593f129913e14409afb -SHA512 (php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz) = 00e74a5fc639e718370d238259d2e3727197d5893e91915082eab83776b1d76682e62157fd873eb383e312182a8ca1e3093fe547d3e34fd6ef6d9632768bd289 +SHA512 (php-phpunitgoodpractices-polyfill-1.4.0-0e3754f.tgz) = e75c408d428b6719da1c9a2838aafef9d2ab647fdf85d9afd226a9c891ce45eb7ce775725e89e1179729352144811a9d3aba545e9fa4640b7680a281e14208cc +SHA512 (php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz) = 864cc1626a5b25082777a2ba46dbfa2894b130f6bdd0b6f7d0aa572c8751a36e33cb87bbe74d61b1b645d0726dd6f922ebf49fa95cb982046c44f9acf78c186c From 2d17417a27ff3e23df8667b333cf8bd2a7d20900 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Dec 2020 08:06:11 +0100 Subject: [PATCH 11/24] update phpunitgoodpractices/polyfill to 1.5.0 --- .gitignore | 10 ++-------- php-phpunitgoodpractices-polyfill.spec | 10 +++++++--- sources | 4 ++-- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 603eb5c..2839766 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,3 @@ -/php-phpunitgoodpractices-polyfill-1.0.0-3968a1f.tgz -/php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz -/php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz -/php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz -/php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz -/php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz -/php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz -/php-phpunitgoodpractices-polyfill-1.4.0-0e3754f.tgz +clog /php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz +/php-phpunitgoodpractices-polyfill-1.5.0-b87c59f.tgz diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 576056f..76f0f59 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -9,7 +9,7 @@ # Polyfill # https://github.com/PHPUnitGoodPractices/polyfill/releases -%global gh_commit 0e3754f1e31b0051eeb5a7223f9b45ba6442af0d +%global gh_commit b87c59f0d3df764d0dcf8154e18be69fe6cb5cba %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner PHPUnitGoodPractices %global gh_project polyfill @@ -28,7 +28,7 @@ %global tr_version 1.9.1 Name: php-%{pk_vendor}-%{pk_project} -Version: 1.4.0 +Version: 1.5.0 Release: 1%{?dist} Summary: Lacking future-compat polyfills for PHPUnit @@ -45,7 +45,8 @@ BuildArch: noarch BuildRequires: php(language) >= 5.5 BuildRequires: %{_bindir}/phpunit # From composer.json, "require-dev": { -# "friendsofphp/php-cs-fixer": "^2.11" +# "friendsofphp/php-cs-fixer": "^2", +# "php-coveralls/php-coveralls": "^2.4" # Autoloader BuildRequires: php-fedora-autoloader-devel %endif @@ -143,6 +144,9 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) { %changelog +* Tue Dec 8 2020 Remi Collet - 1.5.0-1 +- update phpunitgoodpractices/polyfill to 1.5.0 + * Tue Oct 20 2020 Remi Collet - 1.4.0-1 - update phpunitgoodpractices/polyfill to 1.4.0 - update phpunitgoodpractices/traits to 1.9.1 diff --git a/sources b/sources index 6654476..f7fbaf3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (php-phpunitgoodpractices-polyfill-1.4.0-0e3754f.tgz) = e75c408d428b6719da1c9a2838aafef9d2ab647fdf85d9afd226a9c891ce45eb7ce775725e89e1179729352144811a9d3aba545e9fa4640b7680a281e14208cc -SHA512 (php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz) = 864cc1626a5b25082777a2ba46dbfa2894b130f6bdd0b6f7d0aa572c8751a36e33cb87bbe74d61b1b645d0726dd6f922ebf49fa95cb982046c44f9acf78c186c +SHA512 (php-phpunitgoodpractices-polyfill-1.5.0-b87c59f.tgz) = 30bd3cbae013af3de7bb11d1dbcd327aba1bbb64a9742538fe476748a6fdfe786c4fae3851cea034ca2f754f0b0bb606009b93a4bf87140f67332b9f5c881704 +SHA512 (php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz) = 934b3c1a53dc0997d1084d0858771215ddd0926fd715ec5dcefdb9951c1f0827186d44e642a5266dbd56562a0b2514a64f39fa8438b271b0e395585e4a4069f8 From d480e2bc12c4d590602c27693c2a20d27c24bd24 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Dec 2020 10:06:59 +0100 Subject: [PATCH 12/24] enable upstream test suite --- .gitignore | 1 + makesrc.sh | 83 ++++++++++++++++++-------- php-phpunitgoodpractices-polyfill.spec | 70 ++++++++++++++++++---- sources | 5 +- 4 files changed, 122 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 2839766..5a2aeed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ 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 diff --git a/makesrc.sh b/makesrc.sh index 62e19db..47d26f4 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -8,21 +8,24 @@ COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" +if [ -f $NAME-$VERSION-$SHORT.tgz ]; then + echo "$PROJECT Skipped" +else + echo "Cloning..." + git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT -echo "Cloning..." -git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + echo "Getting commit..." + pushd $PROJECT-$COMMIT + git checkout $COMMIT || exit 1 + cp composer.json ../composer-polyfill.json + popd -echo "Getting commit..." -pushd $PROJECT-$COMMIT -git checkout $COMMIT -cp composer.json ../composer-polyfill.json -popd + echo "Archiving..." + tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT -echo "Archiving..." -tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT - -echo "Cleaning..." -rm -rf $PROJECT-$COMMIT + echo "Cleaning..." + rm -rf $PROJECT-$COMMIT +fi PROJECT=Traits VERSION=$(sed -n '/^%global tr_version/{s/.* //;p}' $NAME.spec) @@ -30,22 +33,54 @@ COMMIT=$(sed -n '/^%global tr_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} NAME=php-phpunitgoodpractices-traits -echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" +if [ -f $NAME-$VERSION-$SHORT.tgz ]; then + echo "$PROJECT Skipped" +else + echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" -echo "Cloning..." -git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + echo "Cloning..." + git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT -echo "Getting commit..." -pushd $PROJECT-$COMMIT -git checkout $COMMIT -cp composer.json ../composer-traits.json -popd + echo "Getting commit..." + pushd $PROJECT-$COMMIT + git checkout $COMMIT || exit 1 + cp composer.json ../composer-traits.json + popd -echo "Archiving..." -tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT + echo "Archiving..." + tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT -echo "Cleaning..." -rm -rf $PROJECT-$COMMIT + echo "Cleaning..." + rm -rf $PROJECT-$COMMIT +fi +NAME=$(basename $PWD) +OWNER=$(sed -n '/^%global lg_owner/{s/.* //;p}' $NAME.spec) +PROJECT=$(sed -n '/^%global lg_project/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^%global lg_version/{s/.* //;p}' $NAME.spec) +COMMIT=$(sed -n '/^%global lg_commit/{s/.* //;p}' $NAME.spec) +SHORT=${COMMIT:0:7} +NAME=php-$OWNER-$PROJECT + +if [ -f $NAME-$VERSION-$SHORT.tgz ]; then + echo "$PROJECT Skipped" +else + echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" + + echo "Cloning..." + git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + + echo "Getting commit..." + pushd $PROJECT-$COMMIT + git checkout $COMMIT || exit 1 + cp composer.json ../composer-legacy.json + popd + + echo "Archiving..." + tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT + + echo "Cleaning..." + rm -rf $PROJECT-$COMMIT +fi echo "Done." diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 76f0f59..fd2925b 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -7,6 +7,8 @@ # Please, preserve the changelog entries # +%bcond_without tests + # Polyfill # https://github.com/PHPUnitGoodPractices/polyfill/releases %global gh_commit b87c59f0d3df764d0dcf8154e18be69fe6cb5cba @@ -20,16 +22,22 @@ %global ns_vendor PHPUnitGoodPractices %global ns_project Polyfill %global php_home %{_datadir}/php -%global with_tests 0%{!?_without_tests:1} # Traits # https://github.com/PHPUnitGoodPractices/Traits/releases %global tr_commit 1f56f643aaa3e98f22acf71129109479afb9ef33 %global tr_short %(c=%{tr_commit}; echo ${c:0:7}) %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 464c7505c15c487239ac696a82097c765f38a2a1 +%global lg_short %(c=%{lg_commit}; echo ${c:0:7}) +%global lg_version 8.1 Name: php-%{pk_vendor}-%{pk_project} Version: 1.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -37,26 +45,39 @@ URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to get upstream test suite (none for now) Source0: %{name}-%{version}-%{gh_short}.tgz Source1: php-%{pk_vendor}-traits-%{tr_version}-%{tr_short}.tgz -Source2: makesrc.sh +Source2: php-%{lg_owner}-%{lg_project}-%{lg_version}-%{lg_short}.tgz +Source3: makesrc.sh BuildArch: noarch -%if %{with_tests} +%if %{with tests} # For tests BuildRequires: php(language) >= 5.5 -BuildRequires: %{_bindir}/phpunit -# From composer.json, "require-dev": { +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 +%global phpunit %{_bindir}/phpunit9 +%else +%global phpunit %{_bindir}/phpunit8 +%endif +BuildRequires: %{phpunit} +# From polyfill, composer.json, "require-dev": { # "friendsofphp/php-cs-fixer": "^2", # "php-coveralls/php-coveralls": "^2.4" +# From traits, composer.json, "require-dev": { +# "phpunitgoodpractices/polyfill": "^1.1", +# "sanmai/phpunit-legacy-adapter": "^6.1 || ^8.0" +%endif +BuildRequires: php-cli # Autoloader BuildRequires: php-fedora-autoloader-devel -%endif -# From composer.json, "require": { +# From polyfill, composer.json, "require": { # "php": "^5.5 || ^7.0 || ^8.0", # "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.0 || ^9.0" +# From traits, composer.json, "require": { +# "php": "^5.5 || ^7.0 || ^8.0", +# "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ~8.5 || ~9.4" Requires: php(language) >= 5.5 Requires: (phpunit9 or phpunit8 or phpunit7 or phpunit6 or php-phpunit-PHPUnit) -# From phpcompatinfo report for version polyfill 1.4.0 and traits1.9.1 +# From phpcompatinfo report for version polyfill 1.5.0 and traits 1.9.1 # nothing # Autoloader Requires: php-composer(fedora/autoloader) @@ -73,13 +94,15 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}/autoload.php %prep -%setup -q -n %{gh_project}-%{gh_commit} -a 1 +%setup -q -n %{gh_project}-%{gh_commit} -a 1 -a 2 mv composer.json composer-polyfill.json mv LICENSE LICENSE-polyfill mv Traits-%{tr_commit}/src src2 mv Traits-%{tr_commit}/composer.json composer-traits.json mv Traits-%{tr_commit}/LICENSE LICENSE-traits +mv Traits-%{tr_commit}/tests tests/Traits +mv %{lg_project}-%{lg_commit}/src src3 cat << 'EOF' | tee src/autoload.php - 1.5.0-2 +- enable upstream test suite + * Tue Dec 8 2020 Remi Collet - 1.5.0-1 - update phpunitgoodpractices/polyfill to 1.5.0 diff --git a/sources b/sources index f7fbaf3..abdb984 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ -SHA512 (php-phpunitgoodpractices-polyfill-1.5.0-b87c59f.tgz) = 30bd3cbae013af3de7bb11d1dbcd327aba1bbb64a9742538fe476748a6fdfe786c4fae3851cea034ca2f754f0b0bb606009b93a4bf87140f67332b9f5c881704 -SHA512 (php-phpunitgoodpractices-traits-1.9.1-1f56f64.tgz) = 934b3c1a53dc0997d1084d0858771215ddd0926fd715ec5dcefdb9951c1f0827186d44e642a5266dbd56562a0b2514a64f39fa8438b271b0e395585e4a4069f8 +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 From d359ee5150f62cace8d3c6c16cc9fa821630427a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 07:41:20 +0000 Subject: [PATCH 13/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index fd2925b..c3e1b13 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.5.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -189,6 +189,9 @@ exit $ret %changelog +* 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 From e3c5ee7de19f885409069839ebfbd734a5d98508 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 03:06:31 +0000 Subject: [PATCH 14/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index c3e1b13..4094daf 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.5.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -189,6 +189,9 @@ exit $ret %changelog +* 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 From e9ecf967c52e4f9ab60fe3d6432dadfba8d3f03a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 08:25:45 +0000 Subject: [PATCH 15/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 4094daf..a08cf0a 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -189,6 +189,9 @@ exit $ret %changelog +* 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 From 93770908410797d4152c1c5dd456f635595ce7ee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 14:19:33 +0000 Subject: [PATCH 16/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index a08cf0a..f595a95 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.5.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -189,6 +189,9 @@ exit $ret %changelog +* 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 From 4fb66f6c3d3db8e41647c0607fb5a1bb5be0b094 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Sep 2022 13:58:45 +0200 Subject: [PATCH 17/24] update phpunitgoodpractices/polyfill to 1.6.0 update phpunitgoodpractices/traits to 1.9.2 --- .gitignore | 3 +++ php-phpunitgoodpractices-polyfill.spec | 23 ++++++++++++++--------- sources | 6 +++--- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 5a2aeed..11408de 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index f595a95..2161b47 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-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 - 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 diff --git a/sources b/sources index abdb984..0e4bdff 100644 --- a/sources +++ b/sources @@ -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 From f5b1ed163d77896260f8b8548dd0610788a609fd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 09:16:43 +0000 Subject: [PATCH 18/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 2161b47..e86d0ef 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ exit $ret %changelog +* 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 From 391a38ad08d0776d28a73a3c8744864141a0ac08 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 05:04:38 +0000 Subject: [PATCH 19/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index e86d0ef..153304e 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ exit $ret %changelog +* 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 From 52b156190d3c294f045a67b27f1951a87058f009 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 21:20:26 +0000 Subject: [PATCH 20/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 153304e..28f6059 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ exit $ret %changelog +* 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 From 6961fbad4f106787ea5c9958d86c9b101bb81ace Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 23:07:59 +0000 Subject: [PATCH 21/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 28f6059..d30922d 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ exit $ret %changelog +* 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 From a86195ac58727b1821523a22f8889f0ced148550 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 07:22:10 +0000 Subject: [PATCH 22/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index d30922d..3b80586 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ exit $ret %changelog +* 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 From 1b8aac51f9a3e831908c4fa2016a219636a6132b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:37:18 +0000 Subject: [PATCH 23/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 3b80586..9ea9c72 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ exit $ret %changelog +* 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 From 31e6cc3e71d968f85e12c6cc3ed727541f1d11ae Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:29:11 +0000 Subject: [PATCH 24/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-phpunitgoodpractices-polyfill.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunitgoodpractices-polyfill.spec b/php-phpunitgoodpractices-polyfill.spec index 9ea9c72..e19fcbe 100644 --- a/php-phpunitgoodpractices-polyfill.spec +++ b/php-phpunitgoodpractices-polyfill.spec @@ -37,7 +37,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.6.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Lacking future-compat polyfills for PHPUnit License: MIT @@ -190,6 +190,9 @@ 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