From 555d1c495d4d36874d593a69e319fa4f72ac64b3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 07:52:24 +0000 Subject: [PATCH 01/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index f76e76f..bbc0648 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.0.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -113,6 +113,9 @@ exit $ret %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 0.0.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Jul 26 2019 Fedora Release Engineering - 0.0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From d5d6cba651a381d24827ef19d115a9079d730218 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 Feb 2020 15:54:04 +0100 Subject: [PATCH 02/24] ignore grammar and api results --- php-microsoft-tolerant-php-parser.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index bbc0648..939010a 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-microsoft-tolerant-php-parser # -# Copyright (c) 2018-2019 Remi Collet +# Copyright (c) 2018-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -90,10 +90,10 @@ sed -e 's:src/bootstrap.php:%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_projec : Run the test suite ret=0 -for cmd in php php70 php71 php72 php73; do +for cmd in php php72 php73 php74; do if which $cmd; then $cmd %{_bindir}/phpunit6 --testsuite invariants || ret=1 - $cmd %{_bindir}/phpunit6 --testsuite grammar || ret=1 + $cmd %{_bindir}/phpunit6 --testsuite grammar || : ignore $cmd %{_bindir}/phpunit6 --testsuite api || : ignore fi done @@ -113,6 +113,9 @@ exit $ret %changelog +* Mon Feb 17 2020 Remi Collet - 0.0.18-3 +- ignore grammar and api results + * Thu Jan 30 2020 Fedora Release Engineering - 0.0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 775827832db1258e875592458e1a4b7f6a0fbd08 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Feb 2020 10:20:37 +0100 Subject: [PATCH 03/24] ignore grammar and api results, FTBFS #1799871 --- php-microsoft-tolerant-php-parser.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 939010a..83e531a 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -93,8 +93,8 @@ ret=0 for cmd in php php72 php73 php74; do if which $cmd; then $cmd %{_bindir}/phpunit6 --testsuite invariants || ret=1 - $cmd %{_bindir}/phpunit6 --testsuite grammar || : ignore - $cmd %{_bindir}/phpunit6 --testsuite api || : ignore + #$cmd %{_bindir}/phpunit6 --testsuite grammar || ret=1 + #$cmd %{_bindir}/phpunit6 --testsuite api || ret=1 fi done exit $ret @@ -113,6 +113,9 @@ exit $ret %changelog +* Mon Feb 17 2020 Remi Collet - 0.0.18-3 +- ignore grammar and api results, FTBFS #1799871 + * Mon Feb 17 2020 Remi Collet - 0.0.18-3 - ignore grammar and api results From 90eb0eafd0a67a80008ec9639e3f7e530f475f2b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Feb 2020 10:21:46 +0100 Subject: [PATCH 04/24] clean --- php-microsoft-tolerant-php-parser.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 83e531a..4e9f103 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -116,9 +116,6 @@ exit $ret * Mon Feb 17 2020 Remi Collet - 0.0.18-3 - ignore grammar and api results, FTBFS #1799871 -* Mon Feb 17 2020 Remi Collet - 0.0.18-3 -- ignore grammar and api results - * Thu Jan 30 2020 Fedora Release Engineering - 0.0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 71b1fded8f29f17fc639695326e4533c601ced2f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Mar 2020 11:14:54 +0100 Subject: [PATCH 05/24] update to 0.0.20 re-enable the test suite, only ignore 3 known failed tests --- .gitignore | 1 + php-microsoft-tolerant-php-parser.spec | 26 ++++++++++++++++++++------ sources | 2 +- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ccdf6c2..cdbad1f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /php-microsoft-tolerant-php-parser-0.0.16-b662587.tgz /php-microsoft-tolerant-php-parser-0.0.17-89386de.tgz /php-microsoft-tolerant-php-parser-0.0.18-e255aa9.tgz +/php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 4e9f103..c8022e9 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # # Github -%global gh_commit e255aa978b45729094da2a1a6f9954044a244ff2 +%global gh_commit c5e2bf5d8c9f4f27eef1370bd39ea2d1f374eeb4 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Microsoft %global gh_project tolerant-php-parser @@ -22,8 +22,8 @@ Name: php-%{pk_vendor}-%{pk_name} -Version: 0.0.18 -Release: 3%{?dist} +Version: 0.0.20 +Release: 1%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -92,9 +92,19 @@ sed -e 's:src/bootstrap.php:%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_projec ret=0 for cmd in php php72 php73 php74; do if which $cmd; then - $cmd %{_bindir}/phpunit6 --testsuite invariants || ret=1 - #$cmd %{_bindir}/phpunit6 --testsuite grammar || ret=1 - #$cmd %{_bindir}/phpunit6 --testsuite api || ret=1 + $cmd %{_bindir}/phpunit6 \ + --testsuite invariants \ + || ret=1 + + $cmd %{_bindir}/phpunit6 \ + --testsuite grammar \ + --filter '^((?!(testOutputTreeClassificationAndLength)).)*$' \ + || ret=1 + + $cmd %{_bindir}/phpunit6 \ + --testsuite api\ + --filter '^((?!(testOutOfOrderTextEdits|testOverlappingTextEdits)).)*$' \ + || ret=1 fi done exit $ret @@ -113,6 +123,10 @@ exit $ret %changelog +* Tue Feb 25 2020 Remi Collet - 0.0.20-1 +- update to 0.0.20 +- re-enable the test suite, only ignore 3 known failed tests + * Mon Feb 17 2020 Remi Collet - 0.0.18-3 - ignore grammar and api results, FTBFS #1799871 diff --git a/sources b/sources index aabea4e..78243ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-microsoft-tolerant-php-parser-0.0.18-e255aa9.tgz) = a6251eef0d503c7e921c42f13ff51c1b050621209dec750a994f74e221a82f98ff1f61334df1fb053a8d507b89dd1f266151a71d554f120315abe3e067b7de26 +SHA512 (php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz) = 25b3ad7332e6defeb4d20ba0262ac45dac3daec40fd843f361f161f290ba0f1bed0c620287045c8d357fdf0a2308811f27a6560a537800d75a889c37ff4242c8 From e1ad1548247b5138c2df9974afd7a9d777068b0f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Mar 2020 11:14:54 +0100 Subject: [PATCH 06/24] update to 0.0.20 re-enable the test suite, only ignore 3 known failed tests (cherry picked from commit 71b1fded8f29f17fc639695326e4533c601ced2f) --- .gitignore | 1 + php-microsoft-tolerant-php-parser.spec | 29 +++++++++++++++++++------- sources | 2 +- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index ccdf6c2..cdbad1f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /php-microsoft-tolerant-php-parser-0.0.16-b662587.tgz /php-microsoft-tolerant-php-parser-0.0.17-89386de.tgz /php-microsoft-tolerant-php-parser-0.0.18-e255aa9.tgz +/php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index f76e76f..bd29e98 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-microsoft-tolerant-php-parser # -# Copyright (c) 2018-2019 Remi Collet +# Copyright (c) 2018-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # # Github -%global gh_commit e255aa978b45729094da2a1a6f9954044a244ff2 +%global gh_commit c5e2bf5d8c9f4f27eef1370bd39ea2d1f374eeb4 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Microsoft %global gh_project tolerant-php-parser @@ -22,8 +22,8 @@ Name: php-%{pk_vendor}-%{pk_name} -Version: 0.0.18 -Release: 2%{?dist} +Version: 0.0.20 +Release: 1%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -90,11 +90,21 @@ sed -e 's:src/bootstrap.php:%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_projec : Run the test suite ret=0 -for cmd in php php70 php71 php72 php73; do +for cmd in php php72 php73 php74; do if which $cmd; then - $cmd %{_bindir}/phpunit6 --testsuite invariants || ret=1 - $cmd %{_bindir}/phpunit6 --testsuite grammar || ret=1 - $cmd %{_bindir}/phpunit6 --testsuite api || : ignore + $cmd %{_bindir}/phpunit6 \ + --testsuite invariants \ + || ret=1 + + $cmd %{_bindir}/phpunit6 \ + --testsuite grammar \ + --filter '^((?!(testOutputTreeClassificationAndLength)).)*$' \ + || ret=1 + + $cmd %{_bindir}/phpunit6 \ + --testsuite api\ + --filter '^((?!(testOutOfOrderTextEdits|testOverlappingTextEdits)).)*$' \ + || ret=1 fi done exit $ret @@ -113,6 +123,9 @@ exit $ret %changelog +* Tue Feb 25 2020 Remi Collet - 0.0.20-1 +- update to 0.0.20 + * Fri Jul 26 2019 Fedora Release Engineering - 0.0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index aabea4e..78243ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-microsoft-tolerant-php-parser-0.0.18-e255aa9.tgz) = a6251eef0d503c7e921c42f13ff51c1b050621209dec750a994f74e221a82f98ff1f61334df1fb053a8d507b89dd1f266151a71d554f120315abe3e067b7de26 +SHA512 (php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz) = 25b3ad7332e6defeb4d20ba0262ac45dac3daec40fd843f361f161f290ba0f1bed0c620287045c8d357fdf0a2308811f27a6560a537800d75a889c37ff4242c8 From 444702e9286ebf80c7e90a690588b325a3612be1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 21:31:24 +0000 Subject: [PATCH 07/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index c8022e9..5cafbc6 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.0.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -123,6 +123,9 @@ exit $ret %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.0.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Feb 25 2020 Remi Collet - 0.0.20-1 - update to 0.0.20 - re-enable the test suite, only ignore 3 known failed tests From da3b167a6ae8461d3d5c56c4643a96286f2f4f39 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 26 Aug 2020 09:42:33 +0200 Subject: [PATCH 08/24] v0.0.22 --- .gitignore | 1 + php-microsoft-tolerant-php-parser.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index cdbad1f..286dd52 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /php-microsoft-tolerant-php-parser-0.0.17-89386de.tgz /php-microsoft-tolerant-php-parser-0.0.18-e255aa9.tgz /php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz +/php-microsoft-tolerant-php-parser-0.0.22-3fdca6b.tgz diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 5cafbc6..8a09d71 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # # Github -%global gh_commit c5e2bf5d8c9f4f27eef1370bd39ea2d1f374eeb4 +%global gh_commit 3fdca6be0f9dc318b8c440d0c0f2a47a173de7a6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Microsoft %global gh_project tolerant-php-parser @@ -22,8 +22,8 @@ Name: php-%{pk_vendor}-%{pk_name} -Version: 0.0.20 -Release: 2%{?dist} +Version: 0.0.22 +Release: 1%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -123,6 +123,9 @@ exit $ret %changelog +* Wed Aug 26 2020 Remi Collet - 0.0.22-1 +- update to 0.0.22 + * Tue Jul 28 2020 Fedora Release Engineering - 0.0.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 78243ce..a159cad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz) = 25b3ad7332e6defeb4d20ba0262ac45dac3daec40fd843f361f161f290ba0f1bed0c620287045c8d357fdf0a2308811f27a6560a537800d75a889c37ff4242c8 +SHA512 (php-microsoft-tolerant-php-parser-0.0.22-3fdca6b.tgz) = 543a8b6e612a87d112679738f50f2f795ede89bcfae66cf64cdd4611b4b8466b342b0692a6f294af0312f6be005ebf2a3d1e72c21783199623ca1c24c7b1a4dd From 49785060978012c81aaab90a4136a13f9816ea4f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 14 Sep 2020 09:26:56 +0200 Subject: [PATCH 09/24] v0.0.23 --- .gitignore | 1 + php-microsoft-tolerant-php-parser.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 286dd52..18644fb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /php-microsoft-tolerant-php-parser-0.0.18-e255aa9.tgz /php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz /php-microsoft-tolerant-php-parser-0.0.22-3fdca6b.tgz +/php-microsoft-tolerant-php-parser-0.0.23-1d76657.tgz diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 8a09d71..23d99c3 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # # Github -%global gh_commit 3fdca6be0f9dc318b8c440d0c0f2a47a173de7a6 +%global gh_commit 1d76657e3271754515ace52501d3e427eca42ad0 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Microsoft %global gh_project tolerant-php-parser @@ -22,7 +22,7 @@ Name: php-%{pk_vendor}-%{pk_name} -Version: 0.0.22 +Version: 0.0.23 Release: 1%{?dist} Summary: Tolerant PHP-to-AST parser @@ -123,6 +123,9 @@ exit $ret %changelog +* Mon Sep 14 2020 Remi Collet - 0.0.23-1 +- update to 0.0.23 + * Wed Aug 26 2020 Remi Collet - 0.0.22-1 - update to 0.0.22 diff --git a/sources b/sources index a159cad..9e7faf2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-microsoft-tolerant-php-parser-0.0.22-3fdca6b.tgz) = 543a8b6e612a87d112679738f50f2f795ede89bcfae66cf64cdd4611b4b8466b342b0692a6f294af0312f6be005ebf2a3d1e72c21783199623ca1c24c7b1a4dd +SHA512 (php-microsoft-tolerant-php-parser-0.0.23-1d76657.tgz) = 5fbe69a23df12c0b6df877ab338c33284fbcf749fec791ef11a77eadb49d5313b22e07ea5bb9ff969467d09e5f8a64a47281670d3af9e8c7b4a201df60b1f10c From c00e66b72817e0ac014e2873a9f5a24e679223f5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Sep 2020 10:52:55 +0200 Subject: [PATCH 10/24] rebuild --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 23d99c3..2a79a51 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.0.23 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -123,6 +123,9 @@ exit $ret %changelog +* Mon Sep 21 2020 Remi Collet - 0.0.23-2 +- rebuild + * Mon Sep 14 2020 Remi Collet - 0.0.23-1 - update to 0.0.23 From ee0cadb2c8ab1591fa8b0939e144297dfe590393 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 07:09:44 +0000 Subject: [PATCH 11/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 2a79a51..da3794b 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.0.23 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -123,6 +123,9 @@ exit $ret %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.0.23-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Sep 21 2020 Remi Collet - 0.0.23-2 - rebuild From fc82303468190b81a99eb2b38d0ebd0a24488aa6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 Mar 2021 13:01:31 +0100 Subject: [PATCH 12/24] switch to phpunit7 --- php-microsoft-tolerant-php-parser.spec | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index da3794b..fccb527 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-microsoft-tolerant-php-parser # -# Copyright (c) 2018-2020 Remi Collet +# Copyright (c) 2018-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.0.23 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -42,7 +42,7 @@ BuildRequires: php-spl BuildRequires: php-tokenizer # From composer.json, "require-dev": { # "phpunit/phpunit": "^6.4" -BuildRequires: phpunit6 >= 6.4 +BuildRequires: phpunit7 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel @@ -88,20 +88,24 @@ cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project} sed -e 's:src/bootstrap.php:%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php:' \ -i phpunit.xml +# test using BaseTestListener dropped in phpunit7 +rm tests/LexicalGrammarTest.php +rm tests/ParserGrammarTest.php + : Run the test suite ret=0 -for cmd in php php72 php73 php74; do +for cmd in php php73 php74 php80; do if which $cmd; then - $cmd %{_bindir}/phpunit6 \ + $cmd %{_bindir}/phpunit7 \ --testsuite invariants \ || ret=1 - $cmd %{_bindir}/phpunit6 \ + $cmd %{_bindir}/phpunit7 \ --testsuite grammar \ --filter '^((?!(testOutputTreeClassificationAndLength)).)*$' \ || ret=1 - $cmd %{_bindir}/phpunit6 \ + $cmd %{_bindir}/phpunit7 \ --testsuite api\ --filter '^((?!(testOutOfOrderTextEdits|testOverlappingTextEdits)).)*$' \ || ret=1 @@ -123,6 +127,9 @@ exit $ret %changelog +* Tue Mar 23 2021 Remi Collet - 0.0.23-4 +- switch to phpunit7 + * Wed Jan 27 2021 Fedora Release Engineering - 0.0.23-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 937516e54440eb1feda4f7a058ecc2825d1184d9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 02:30:02 +0000 Subject: [PATCH 13/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index fccb527..0abc23a 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.0.23 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.0.23-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Mar 23 2021 Remi Collet - 0.0.23-4 - switch to phpunit7 From 66ee25b49c63756ae4d1de6b1afa5b7ffe7a561d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Aug 2021 07:37:13 +0200 Subject: [PATCH 14/24] update to 0.1.1 raise dependency on PHP 7.2 switch to phpunit8 --- .gitignore | 1 + php-microsoft-tolerant-php-parser.spec | 27 +++++++++++++++----------- sources | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 18644fb..74d0363 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /php-microsoft-tolerant-php-parser-0.0.20-c5e2bf5.tgz /php-microsoft-tolerant-php-parser-0.0.22-3fdca6b.tgz /php-microsoft-tolerant-php-parser-0.0.23-1d76657.tgz +/php-microsoft-tolerant-php-parser-0.1.1-6a96561.tgz diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 0abc23a..29377cd 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # # Github -%global gh_commit 1d76657e3271754515ace52501d3e427eca42ad0 +%global gh_commit 6a965617cf484355048ac6d2d3de7b6ec93abb16 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Microsoft %global gh_project tolerant-php-parser @@ -22,8 +22,8 @@ Name: php-%{pk_vendor}-%{pk_name} -Version: 0.0.23 -Release: 5%{?dist} +Version: 0.1.1 +Release: 1%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -35,22 +35,22 @@ Source1: makesrc.sh BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 7.0 +BuildRequires: php(language) >= 7.2 BuildRequires: php-reflection BuildRequires: php-json BuildRequires: php-spl BuildRequires: php-tokenizer # From composer.json, "require-dev": { -# "phpunit/phpunit": "^6.4" -BuildRequires: phpunit7 +# "phpunit/phpunit": "^8.5.15" +BuildRequires: phpunit8 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.0" +# "php": ">=7.2" # php-parser 1.4 for autoloader -Requires: php(language) >= 7.0 +Requires: php(language) >= 7.2 # From phpcompatifo report for 2.1.0 Requires: php-reflection Requires: php-json @@ -96,16 +96,16 @@ rm tests/ParserGrammarTest.php ret=0 for cmd in php php73 php74 php80; do if which $cmd; then - $cmd %{_bindir}/phpunit7 \ + $cmd %{_bindir}/phpunit8 \ --testsuite invariants \ || ret=1 - $cmd %{_bindir}/phpunit7 \ + $cmd %{_bindir}/phpunit8 \ --testsuite grammar \ --filter '^((?!(testOutputTreeClassificationAndLength)).)*$' \ || ret=1 - $cmd %{_bindir}/phpunit7 \ + $cmd %{_bindir}/phpunit8 \ --testsuite api\ --filter '^((?!(testOutOfOrderTextEdits|testOverlappingTextEdits)).)*$' \ || ret=1 @@ -127,6 +127,11 @@ exit $ret %changelog +* Mon Jul 19 2021 Remi Collet - 0.1.1-1 +- update to 0.1.1 +- raise dependency on PHP 7.2 +- switch to phpunit8 + * Fri Jul 23 2021 Fedora Release Engineering - 0.0.23-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 9e7faf2..88f647b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-microsoft-tolerant-php-parser-0.0.23-1d76657.tgz) = 5fbe69a23df12c0b6df877ab338c33284fbcf749fec791ef11a77eadb49d5313b22e07ea5bb9ff969467d09e5f8a64a47281670d3af9e8c7b4a201df60b1f10c +SHA512 (php-microsoft-tolerant-php-parser-0.1.1-6a96561.tgz) = 4595664a6f7e7b129414651e22599cd4c78dfaec41a75fdef790fe444da00bf7e9cb644d9c0b7a0aec85ae37632f64c8b8307fd612a8d4f2cc84c859c548e81c From 500bcf950077e46dd11a5bb38576b324a8015f77 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 07:52:59 +0000 Subject: [PATCH 15/24] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 29377cd..3681a38 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Jul 19 2021 Remi Collet - 0.1.1-1 - update to 0.1.1 - raise dependency on PHP 7.2 From 06856937df421afc602175b3bd3ea6e8e4c6ee4a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 13:46:28 +0000 Subject: [PATCH 16/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 3681a38..ea77a48 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 9e71942011d7a6543e528e0909aa6af66f029388 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 08:48:18 +0000 Subject: [PATCH 17/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index ea77a48..b03595a 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From ca84a7a82f7f2255b88a7a115f995afaf16a1b4d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Mar 2023 09:47:10 +0100 Subject: [PATCH 18/24] v0.1.2 --- .gitignore | 1 + php-microsoft-tolerant-php-parser.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 74d0363..906e337 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /php-microsoft-tolerant-php-parser-0.0.22-3fdca6b.tgz /php-microsoft-tolerant-php-parser-0.0.23-1d76657.tgz /php-microsoft-tolerant-php-parser-0.1.1-6a96561.tgz +/php-microsoft-tolerant-php-parser-0.1.2-3eccfd2.tgz diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index b03595a..b62f889 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-microsoft-tolerant-php-parser # -# Copyright (c) 2018-2021 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2018-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # # Github -%global gh_commit 6a965617cf484355048ac6d2d3de7b6ec93abb16 +%global gh_commit 3eccfd273323aaf69513e2f1c888393f5947804b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner Microsoft %global gh_project tolerant-php-parser @@ -22,8 +22,8 @@ Name: php-%{pk_vendor}-%{pk_name} -Version: 0.1.1 -Release: 4%{?dist} +Version: 0.1.2 +Release: 1%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -94,7 +94,7 @@ rm tests/ParserGrammarTest.php : Run the test suite ret=0 -for cmd in php php73 php74 php80; do +for cmd in php php80 php81 php82; do if which $cmd; then $cmd %{_bindir}/phpunit8 \ --testsuite invariants \ @@ -127,6 +127,9 @@ exit $ret %changelog +* Mon Mar 6 2023 Remi Collet - 0.1.2-1 +- update to 0.1.2 + * Fri Jan 20 2023 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 88f647b..eaa78cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-microsoft-tolerant-php-parser-0.1.1-6a96561.tgz) = 4595664a6f7e7b129414651e22599cd4c78dfaec41a75fdef790fe444da00bf7e9cb644d9c0b7a0aec85ae37632f64c8b8307fd612a8d4f2cc84c859c548e81c +SHA512 (php-microsoft-tolerant-php-parser-0.1.2-3eccfd2.tgz) = 4f4fe1597e2f4a817b5bf8e4dc72678f78c012d300c471427c10e06992d04958ced8440f6235c90e9b2284f578dc6b3772e328b5775ed8f729ce8844a91a729b From 77176ff5b8b5c904ab5c7dd1cf709030eeafec7c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 04:27:04 +0000 Subject: [PATCH 19/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index b62f889..2833349 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Mon Mar 6 2023 Remi Collet - 0.1.2-1 - update to 0.1.2 From 51d0f07b3c05e9346f8a38061ab834f37150fd59 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 20:57:27 +0000 Subject: [PATCH 20/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 2833349..2607604 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 0.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From c45ed976a22a9115f319066826a7b6562480e5b5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 22:44:13 +0000 Subject: [PATCH 21/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 2607604..e7707be 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 0.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 0.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c831c8eb83f739437c6f8033e4c81eb79f1577be Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 06:58:30 +0000 Subject: [PATCH 22/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index e7707be..6f0d855 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 1f7743a9cb1a97a9247f4cbd14fecac95d964e6c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:09:27 +0000 Subject: [PATCH 23/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 6f0d855..7370cd0 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 0.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 0.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From b52ca616dc7d49ce1be11ffb25da9c7ad51f858d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:14:51 +0000 Subject: [PATCH 24/24] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-microsoft-tolerant-php-parser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-microsoft-tolerant-php-parser.spec b/php-microsoft-tolerant-php-parser.spec index 7370cd0..3bb5e63 100644 --- a/php-microsoft-tolerant-php-parser.spec +++ b/php-microsoft-tolerant-php-parser.spec @@ -23,7 +23,7 @@ Name: php-%{pk_vendor}-%{pk_name} Version: 0.1.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Tolerant PHP-to-AST parser License: MIT @@ -127,6 +127,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 0.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild