From 1dea3020cf318e176233758046fe3e4ec200c558 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Dec 2021 16:26:05 +0100 Subject: update to 5.3.1 raise dependency on ast 1.0.16 --- phan.spec | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'phan.spec') diff --git a/phan.spec b/phan.spec index cea1d6e..392ac6c 100644 --- a/phan.spec +++ b/phan.spec @@ -10,14 +10,14 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 42ee10d1d456d4c26b72035a8051487c864d712b +%global gh_commit 777fb4781068af411ce153bd839d8856149fa4b7 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phan #global gh_date 20150820 %global gh_project phan %global psr0 Phan %bcond_without tests -%global upstream_version 5.3.0 +%global upstream_version 5.3.1 #global upstream_prever a4 Name: %{gh_project} @@ -36,7 +36,7 @@ Patch0: %{name}-autoload.patch BuildArch: noarch %if %{with tests} BuildRequires: php(language) >= 7.2 -BuildRequires: php-ast >= 1.0.14 +BuildRequires: php-ast >= 1.0.16 BuildRequires: php-var_representation # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -45,7 +45,7 @@ BuildRequires: (php-composer(composer/xdebug-handler) >= 2.0.0 with php BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 with php-composer(felixfbecker/advanced-json-rpc) < 4) BuildRequires: (php-composer(microsoft/tolerant-php-parser) >= 0.1 with php-composer(microsoft/tolerant-php-parser) < 0.2) BuildRequires: (php-composer(netresearch/jsonmapper) >= 1.6 with php-composer(netresearch/jsonmapper) < 5) -BuildRequires: (php-composer(sabre/event) >= 5.0.3 with php-composer(sabre/event) < 6) +BuildRequires: (php-composer(sabre/event) >= 5.1.3 with php-composer(sabre/event) < 6) BuildRequires: (php-composer(symfony/console) >= 3.2 with php-composer(symfony/console) < 6) BuildRequires: (php-composer(symfony/polyfill-php80) >= 1.19 with php-composer(symfony/polyfill-php80) < 2) # remirepo:13 @@ -58,7 +58,7 @@ BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 BuildRequires: php-composer(microsoft/tolerant-php-parser) < 0.2 BuildRequires: php-composer(microsoft/tolerant-php-parser) >= 0.1 BuildRequires: php-netresearch-jsonmapper >= 1.6 -BuildRequires: php-sabre-event5 >= 5.0.3 +BuildRequires: php-sabre-event5 >= 5.1.3 BuildRequires: php-symfony3-console >= 3.2 BuildRequires: php-symfony-polyfill >= 1.20 %endif @@ -94,7 +94,7 @@ BuildRequires: php-composer(fedora/autoloader) # "felixfbecker/advanced-json-rpc": "^3.0.4", # "microsoft/tolerant-php-parser": "^0.1", # "netresearch/jsonmapper": "^1.6.0|^2.0|^3.0|^4.0", -# "sabre/event": "^5.0.3", +# "sabre/event": "^5.1.3", # "symfony/console": "^3.2|^4.0|^5.", # "symfony/polyfill-mbstring": "^1.11.0", # "symfony/polyfill-php80": "^1.20.0", @@ -108,12 +108,12 @@ Requires: php-var_representation # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 # From composer.json, "suggest": { -# "ext-ast": "Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.14+ is recommended.", +# "ext-ast": "Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.16+ is recommended.", # "ext-iconv": "Either iconv or mbstring is needed to ensure issue messages are valid utf-8", # "ext-igbinary": "Improves performance of polyfill when ext-ast is unavailable", # "ext-mbstring": "Either iconv or mbstring is needed to ensure issue messages are valid utf-8", # "ext-tokenizer": "Needed for non-AST support and file/line-based suppressions." -Recommends: php-ast >= 1.0.14 +Recommends: php-ast >= 1.0.16 Suggests: php-igbinary Suggests: php-iconv Requires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 4) @@ -122,12 +122,12 @@ Requires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 with php Requires: (php-composer(nikic/php-parser) >= 3.1.1 with php-composer(nikic/php-parser) < 4) Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.1 with php-composer(microsoft/tolerant-php-parser) < 0.2) Requires: (php-composer(netresearch/jsonmapper) >= 1.6 with php-composer(netresearch/jsonmapper) < 5) -Requires: (php-composer(sabre/event) >= 5.0.3 with php-composer(sabre/event) < 6) +Requires: (php-composer(sabre/event) >= 5.1.3 with php-composer(sabre/event) < 6) Requires: (php-composer(symfony/console) >= 3.2 with php-composer(symfony/console) < 6) Requires: (php-composer(symfony/polyfill-php80) >= 1.19 with php-composer(symfony/polyfill-php80) < 2) # remirepo:15 %else -Requires: php-ast >= 1.0.10 +Requires: php-ast >= 1.0.16 Requires: php-var_representation Requires: php-composer(composer/semver) < 4 Requires: php-composer(composer/semver) >= 1.4 @@ -137,7 +137,7 @@ Requires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 Requires: php-composer(microsoft/tolerant-php-parser) < 0.2 Requires: php-composer(microsoft/tolerant-php-parser) >= 0.1 Requires: php-netresearch-jsonmapper >= 1.6 -Requires: php-sabre-event5 >= 5.0.3 +Requires: php-sabre-event5 >= 5.1.3 Requires: php-symfony3-console >= 3.2 Requires: php-symfony-polyfill >= 1.20 %endif @@ -253,6 +253,10 @@ EOF %changelog +* Tue Dec 14 2021 Remi Collet - 5.3.1-1 +- update to 5.3.1 +- raise dependency on ast 1.0.16 + * Mon Nov 15 2021 Remi Collet - 5.3.0-1 - update to 5.3.0 -- cgit