From 07d3726f1319da56e61dba7ee8cd948f531e9a43 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 21:37:33 +0000 Subject: [PATCH 01/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-yoast-phpunit-polyfills.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index e173a85..aecb0a6 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.0.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of polyfills for changed PHPUnit functionality License: BSD-3-Clause @@ -123,6 +123,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 449a666bf2076ab0ba9afa6cea7661951e9ad4ba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 23:25:17 +0000 Subject: [PATCH 02/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-yoast-phpunit-polyfills.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index aecb0a6..fa919ed 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.0.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Set of polyfills for changed PHPUnit functionality License: BSD-3-Clause @@ -123,6 +123,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From a311acb8c7573dc3a59d76376011cd8b314e3bc1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Apr 2024 08:49:26 +0200 Subject: [PATCH 03/11] v1.1.1 --- .gitignore | 1 + php-yoast-phpunit-polyfills.spec | 18 +++++++++--------- sources | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 6fb5179..72beef7 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index fa919ed..0a8b7ce 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -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: 4%{?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 - 1.1.1-1 +- update to 1.1.1 + * Thu Jan 25 2024 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 73b746e..23a704f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz) = 3596d3d81302ac2edb073829427ef6ce5086e199bc9495400310e21f9200164e8acef9af393141877fb3903bcbd9591d9e5c4d6319ca0f06616cf40d9d56a9d0 +SHA512 (php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz) = 5485d22a0122deb3b3af6247bf19b2775c5e3bbdc07ec78c3f535a254f7ac3c23ae3dd49d624625b20e48d070cbe43781dcf488126ceffbf5e4189ff812d3098 From 120e55cfa61c43f1c13c250b59955f4d193974f4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Apr 2024 08:49:26 +0200 Subject: [PATCH 04/11] v1.1.1 (cherry picked from commit a311acb8c7573dc3a59d76376011cd8b314e3bc1) --- .gitignore | 1 + php-yoast-phpunit-polyfills.spec | 18 +++++++++--------- sources | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 6fb5179..72beef7 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index e173a85..5d2b991 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -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 - 1.1.1-1 +- update to 1.1.1 + * Fri Jul 21 2023 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 73b746e..23a704f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz) = 3596d3d81302ac2edb073829427ef6ce5086e199bc9495400310e21f9200164e8acef9af393141877fb3903bcbd9591d9e5c4d6319ca0f06616cf40d9d56a9d0 +SHA512 (php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz) = 5485d22a0122deb3b3af6247bf19b2775c5e3bbdc07ec78c3f535a254f7ac3c23ae3dd49d624625b20e48d070cbe43781dcf488126ceffbf5e4189ff812d3098 From 4081820da3a70c9c1609dc4eca6d94f52b9f6baa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 07:41:00 +0000 Subject: [PATCH 05/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-yoast-phpunit-polyfills.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index 0a8b7ce..bb279f2 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of polyfills for changed PHPUnit functionality License: BSD-3-Clause @@ -120,6 +120,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Apr 9 2024 Remi Collet - 1.1.1-1 - update to 1.1.1 From 60450419f2a85264c70fa438af876bcc4b953d87 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Sep 2024 07:37:38 +0200 Subject: [PATCH 06/11] update to 2.0.1 move to /usr/share/php/Yoast/PHPUnitPolyfills2 raise dependency on PHP 5.6 drop phpunit7, add phpunit10 --- .gitignore | 1 + php-yoast-phpunit-polyfills.spec | 37 +++++++++++++++++++++----------- sources | 2 +- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 72beef7..118352a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /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 +/php-yoast-phpunit-polyfills-2.0.1-4a088f1.tgz diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index bb279f2..b61cce0 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -7,7 +7,7 @@ # Please preserve changelog entries # # Github -%global gh_commit a0f7d708794a738f328d7b6c94380fd1d6c40446 +%global gh_commit 4a088f125c970d6d6ea52c927f96fe39b330d0f1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Yoast %global gh_project PHPUnit-Polyfills @@ -18,13 +18,13 @@ %global ns_vendor Yoast %global ns_project PHPUnitPolyfills # don't change major version used in package name -%global major %nil +%global major 2 %bcond_without tests %global php_home %{_datadir}/php -Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 1.1.1 -Release: 2%{?dist} +Name: php-%{pk_vendor}-%{pk_project} +Version: 2.0.1 +Release: 1%{?dist} Summary: Set of polyfills for changed PHPUnit functionality License: BSD-3-Clause @@ -35,19 +35,20 @@ Source1: makesrc.sh BuildArch: noarch %if %{with tests} -BuildRequires: php(language) >= 5.4 +BuildRequires: php(language) >= 5.6 BuildRequires: php-reflection # From composer.json, "require-dev": { # "yoast/yoastcs": "^2.3.0" +BuildRequires: phpunit10 BuildRequires: phpunit9 BuildRequires: phpunit8 %endif BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=5.4", -# "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" -Requires: php(language) >= 5.4 +# "php": ">=5.6", +# "phpunit/phpunit": "^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" +Requires: php(language) >= 5.6 # from phpcompatinfo report on version 0.2.0 Requires: php-reflection @@ -90,9 +91,6 @@ EOF : Run upstream test suite ret=0 -if [ -x %{_bindir}/phpunit7 ]; then - %{_bindir}/phpunit7 --no-coverage || ret=1 -fi if [ -x %{_bindir}/phpunit8 ]; then for cmd in php php81 php82 php83; do if which $cmd; then @@ -101,12 +99,19 @@ if [ -x %{_bindir}/phpunit8 ]; then done fi if [ -x %{_bindir}/phpunit9 ]; then - for cmd in php php81 php82 php83; do + for cmd in php php81 php82 php83 php84; do if which $cmd; then $cmd %{_bindir}/phpunit9 --no-coverage || ret=1 fi done fi +if [ -x %{_bindir}/phpunit10 ]; then + for cmd in php php82 php83 php84; do + if which $cmd; then + $cmd %{_bindir}/phpunit10 --no-coverage || ret=1 + fi + done +fi exit $ret %endif @@ -120,6 +125,12 @@ exit $ret %changelog +* Fri Aug 30 2024 Remi Collet - 2.0.1-1 +- update to 2.0.1 +- move to /usr/share/php/Yoast/PHPUnitPolyfills2 +- raise dependency on PHP 5.6 +- drop phpunit7, add phpunit10 + * Fri Jul 19 2024 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 23a704f..54d57ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz) = 5485d22a0122deb3b3af6247bf19b2775c5e3bbdc07ec78c3f535a254f7ac3c23ae3dd49d624625b20e48d070cbe43781dcf488126ceffbf5e4189ff812d3098 +SHA512 (php-yoast-phpunit-polyfills-2.0.1-4a088f1.tgz) = fbaca187ac096ed64e6d66553571f13049831f9e039af438f0dc23ee9fc1d55f60b71f91326072f85d00eb86d644626eb9916313bd333441a7ef957f63420ad5 From 7b3eca9d1d9a9ecba918ec1cff67c3de517f3755 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Sep 2024 10:19:04 +0200 Subject: [PATCH 07/11] update to 3.0.0 move to /usr/share/php/Yoast/PHPUnitPolyfills3 raise dependency on PHP 7.0 drop phpunit10, add phpunit11 --- .gitignore | 1 + php-yoast-phpunit-polyfills.spec | 28 +++++++++++++++++----------- sources | 2 +- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 118352a..2cacd2a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /php-yoast-phpunit-polyfills-1.0.5-3b59ade.tgz /php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz /php-yoast-phpunit-polyfills-2.0.1-4a088f1.tgz +/php-yoast-phpunit-polyfills-3.0.0-19e6d5f.tgz diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index b61cce0..e079ae9 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -7,7 +7,7 @@ # Please preserve changelog entries # # Github -%global gh_commit 4a088f125c970d6d6ea52c927f96fe39b330d0f1 +%global gh_commit 19e6d5fb8aad31f731f774f9646a10c64a8843d2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Yoast %global gh_project PHPUnit-Polyfills @@ -18,14 +18,14 @@ %global ns_vendor Yoast %global ns_project PHPUnitPolyfills # don't change major version used in package name -%global major 2 +%global major 3 %bcond_without tests %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project} -Version: 2.0.1 +Version: 3.0.0 Release: 1%{?dist} -Summary: Set of polyfills for changed PHPUnit functionality +Summary: Set of polyfills for changed PHPUnit functionality, version %{major} License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} @@ -35,20 +35,20 @@ Source1: makesrc.sh BuildArch: noarch %if %{with tests} -BuildRequires: php(language) >= 5.6 +BuildRequires: php(language) >= 7.0 BuildRequires: php-reflection # From composer.json, "require-dev": { # "yoast/yoastcs": "^2.3.0" -BuildRequires: phpunit10 +# phpunit10 is not supported BuildRequires: phpunit9 BuildRequires: phpunit8 %endif BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=5.6", -# "phpunit/phpunit": "^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" -Requires: php(language) >= 5.6 +# "php": ">=7.0", +# "phpunit/phpunit": "^6.4.4 || ^7.0 || ^8.0 || ^9.0 || ^11.0" +Requires: php(language) >= 7.0 # from phpcompatinfo report on version 0.2.0 Requires: php-reflection @@ -105,10 +105,10 @@ if [ -x %{_bindir}/phpunit9 ]; then fi done fi -if [ -x %{_bindir}/phpunit10 ]; then +if [ -x %{_bindir}/phpunit11 ]; then for cmd in php php82 php83 php84; do if which $cmd; then - $cmd %{_bindir}/phpunit10 --no-coverage || ret=1 + $cmd %{_bindir}/phpunit11 --no-coverage || ret=1 fi done fi @@ -125,6 +125,12 @@ exit $ret %changelog +* Mon Sep 9 2024 Remi Collet - 3.0.0-1 +- update to 3.0.0 +- move to /usr/share/php/Yoast/PHPUnitPolyfills3 +- raise dependency on PHP 7.0 +- drop phpunit10, add phpunit11 + * Fri Aug 30 2024 Remi Collet - 2.0.1-1 - update to 2.0.1 - move to /usr/share/php/Yoast/PHPUnitPolyfills2 diff --git a/sources b/sources index 54d57ab..7f7be52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-yoast-phpunit-polyfills-2.0.1-4a088f1.tgz) = fbaca187ac096ed64e6d66553571f13049831f9e039af438f0dc23ee9fc1d55f60b71f91326072f85d00eb86d644626eb9916313bd333441a7ef957f63420ad5 +SHA512 (php-yoast-phpunit-polyfills-3.0.0-19e6d5f.tgz) = 9ef2fe5a4fe1d6cfdefa60429882601c854e0d58c6fdf2fc8b2444b5d08dc5008c1bd99ac715c1b961724f3f675b6201d463bd8be0542cefcde0480c7fd89fd3 From 9355581bc0b27d7c58dcf1b24d275109663afe36 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 9 Jan 2025 08:45:04 +0100 Subject: [PATCH 08/11] update to 3.1.0 re-license spec file to CECILL-2.1 --- .gitignore | 1 + php-yoast-phpunit-polyfills.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 2cacd2a..35864c7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /php-yoast-phpunit-polyfills-1.1.1-a0f7d70.tgz /php-yoast-phpunit-polyfills-2.0.1-4a088f1.tgz /php-yoast-phpunit-polyfills-3.0.0-19e6d5f.tgz +/php-yoast-phpunit-polyfills-3.1.0-59b3f8f.tgz diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index e079ae9..28c01f2 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-yoast-phpunit-polyfills # -# Copyright (c) 2020-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2020-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please preserve changelog entries # # Github -%global gh_commit 19e6d5fb8aad31f731f774f9646a10c64a8843d2 +%global gh_commit 59b3f8ffa2eab9c8258e8638d97c3e37fac9a80e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Yoast %global gh_project PHPUnit-Polyfills @@ -23,7 +23,7 @@ %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project} -Version: 3.0.0 +Version: 3.1.0 Release: 1%{?dist} Summary: Set of polyfills for changed PHPUnit functionality, version %{major} @@ -125,6 +125,10 @@ exit $ret %changelog +* Thu Jan 9 2025 Remi Collet - 3.1.0-1 +- update to 3.1.0 +- re-license spec file to CECILL-2.1 + * Mon Sep 9 2024 Remi Collet - 3.0.0-1 - update to 3.0.0 - move to /usr/share/php/Yoast/PHPUnitPolyfills3 diff --git a/sources b/sources index 7f7be52..0af7009 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-yoast-phpunit-polyfills-3.0.0-19e6d5f.tgz) = 9ef2fe5a4fe1d6cfdefa60429882601c854e0d58c6fdf2fc8b2444b5d08dc5008c1bd99ac715c1b961724f3f675b6201d463bd8be0542cefcde0480c7fd89fd3 +SHA512 (php-yoast-phpunit-polyfills-3.1.0-59b3f8f.tgz) = f3d3e5548b16372f0f80eadc2583da51907d5b13d897dd8d2536a98ad7a98af71de19ee525896f1608f31a038b31cc713bf24cf00731f9f23ccef392c3ba521b From 2f59c95688101d44a802e52cbc5274c44846062d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:58:47 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-yoast-phpunit-polyfills.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index 28c01f2..53a1a69 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 3.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of polyfills for changed PHPUnit functionality, version %{major} License: BSD-3-Clause @@ -125,6 +125,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jan 9 2025 Remi Collet - 3.1.0-1 - update to 3.1.0 - re-license spec file to CECILL-2.1 From 873502170ee6928f33eddfe901034cebfe615fab Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Feb 2025 07:54:23 +0100 Subject: [PATCH 10/11] update to 4.0.0 move to /usr/share/php/Yoast/PHPUnitPolyfills4 raise dependency on PHP 7.1 add phpunit12 --- .gitignore | 1 + php-yoast-phpunit-polyfills.spec | 33 ++++++++++++++++++++++++-------- sources | 2 +- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 35864c7..b92028a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /php-yoast-phpunit-polyfills-2.0.1-4a088f1.tgz /php-yoast-phpunit-polyfills-3.0.0-19e6d5f.tgz /php-yoast-phpunit-polyfills-3.1.0-59b3f8f.tgz +/php-yoast-phpunit-polyfills-4.0.0-134921b.tgz diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index 53a1a69..9989562 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -7,7 +7,7 @@ # Please preserve changelog entries # # Github -%global gh_commit 59b3f8ffa2eab9c8258e8638d97c3e37fac9a80e +%global gh_commit 134921bfca9b02d8f374c48381451da1d98402f9 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Yoast %global gh_project PHPUnit-Polyfills @@ -18,13 +18,13 @@ %global ns_vendor Yoast %global ns_project PHPUnitPolyfills # don't change major version used in package name -%global major 3 +%global major 4 %bcond_without tests %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project} -Version: 3.1.0 -Release: 2%{?dist} +Version: 4.0.0 +Release: 1%{?dist} Summary: Set of polyfills for changed PHPUnit functionality, version %{major} License: BSD-3-Clause @@ -35,10 +35,14 @@ Source1: makesrc.sh BuildArch: noarch %if %{with tests} -BuildRequires: php(language) >= 7.0 +BuildRequires: php(language) >= 7.1 BuildRequires: php-reflection # From composer.json, "require-dev": { # "yoast/yoastcs": "^2.3.0" +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 +BuildRequires: phpunit12 +BuildRequires: phpunit11 +%endif # phpunit10 is not supported BuildRequires: phpunit9 BuildRequires: phpunit8 @@ -46,9 +50,9 @@ BuildRequires: phpunit8 BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.0", -# "phpunit/phpunit": "^6.4.4 || ^7.0 || ^8.0 || ^9.0 || ^11.0" -Requires: php(language) >= 7.0 +# "php": ">=7.1", +# "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0 || ^11.0 || ^12.0" +Requires: php(language) >= 7.1 # from phpcompatinfo report on version 0.2.0 Requires: php-reflection @@ -112,6 +116,13 @@ if [ -x %{_bindir}/phpunit11 ]; then fi done fi +if [ -x %{_bindir}/phpunit12 ]; then + for cmd in php php83 php84; do + if which $cmd; then + $cmd %{_bindir}/phpunit11 --no-coverage || ret=1 + fi + done +fi exit $ret %endif @@ -125,6 +136,12 @@ exit $ret %changelog +* Mon Feb 10 2025 Remi Collet - 4.0.0-1 +- update to 4.0.0 +- move to /usr/share/php/Yoast/PHPUnitPolyfills4 +- raise dependency on PHP 7.1 +- add phpunit12 + * Sat Jan 18 2025 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index 0af7009..d4fd0e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-yoast-phpunit-polyfills-3.1.0-59b3f8f.tgz) = f3d3e5548b16372f0f80eadc2583da51907d5b13d897dd8d2536a98ad7a98af71de19ee525896f1608f31a038b31cc713bf24cf00731f9f23ccef392c3ba521b +SHA512 (php-yoast-phpunit-polyfills-4.0.0-134921b.tgz) = 7f2995809279b01260c6aedf5a97957a18fb39f41c00d66ab442129aea5b5e2220b42e56e72dcfecd679c715aab62dedb59af8761fb8773b60278dfd25608be7 From 455602a1a6186729cf469c4bd78d3619ddb055f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:41:08 +0000 Subject: [PATCH 11/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-yoast-phpunit-polyfills.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-yoast-phpunit-polyfills.spec b/php-yoast-phpunit-polyfills.spec index 9989562..6c0b64f 100644 --- a/php-yoast-phpunit-polyfills.spec +++ b/php-yoast-phpunit-polyfills.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 4.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of polyfills for changed PHPUnit functionality, version %{major} License: BSD-3-Clause @@ -136,6 +136,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Feb 10 2025 Remi Collet - 4.0.0-1 - update to 4.0.0 - move to /usr/share/php/Yoast/PHPUnitPolyfills4