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