diff options
Diffstat (limited to 'phan.spec')
-rw-r--r-- | phan.spec | 30 |
1 files changed, 20 insertions, 10 deletions
@@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 8e458c3b4c62b4221d36a42e3002be15d91f0d40 +%global gh_commit 94fea5eedb8f7be9a77677900db1e92dae61fd87 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phan #global gh_date 20150820 @@ -18,7 +18,7 @@ %global psr0 Phan %bcond_without tests %global upstream_version 5.0.0 -%global upstream_prever a1 +%global upstream_prever a2 Name: %{gh_project} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} @@ -37,12 +37,13 @@ BuildArch: noarch %if %{with tests} BuildRequires: php(language) >= 7.2 BuildRequires: php-ast >= 1.0.10 +BuildRequires: php-var_representation # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 4) BuildRequires: (php-composer(composer/xdebug-handler) >= 2.0.0 with php-composer(composer/xdebug-handler) < 3) 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.0.23 with php-composer(microsoft/tolerant-php-parser) < 0.1) +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(symfony/console) >= 3.2 with php-composer(symfony/console) < 6) @@ -54,8 +55,8 @@ BuildRequires: php-composer(composer/semver) >= 1.4 BuildRequires: php-composer-xdebug-handler2 BuildRequires: php-composer(felixfbecker/advanced-json-rpc) < 5 BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 -BuildRequires: php-composer(microsoft/tolerant-php-parser) < 0.1 -BuildRequires: php-composer(microsoft/tolerant-php-parser) >= 0.0.23 +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-symfony3-console >= 3.2 @@ -91,16 +92,19 @@ BuildRequires: php-composer(fedora/autoloader) # "composer/semver": "^1.4|^2.0|^3.0", # "composer/xdebug-handler": "^1.3.2|^2.0.0", # "felixfbecker/advanced-json-rpc": "^3.0.4", -# "microsoft/tolerant-php-parser": "0.0.23", +# "microsoft/tolerant-php-parser": "^0.1", # "netresearch/jsonmapper": "^1.6.0|^2.0|^3.0|^4.0", # "sabre/event": "^5.0.3", # "symfony/console": "^3.2|^4.0|^5.", # "symfony/polyfill-mbstring": "^1.11.0", -# "symfony/polyfill-php80": "^1.20.0" +# "symfony/polyfill-php80": "^1.20.0", +# ignore and use the ext instead +# "tysonandre/var_representation_polyfill": "^0.0.2" Requires: php(language) >= 7.2 Requires: php-filter Requires: php-tokenizer Requires: php-json +Requires: php-var_representation # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 # From composer.json, "suggest": { @@ -116,7 +120,7 @@ Requires: (php-composer(composer/semver) >= 1.4 with php Requires: (php-composer(composer/xdebug-handler) >= 2.0.0 with php-composer(composer/xdebug-handler) < 3) Requires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 with php-composer(felixfbecker/advanced-json-rpc) < 4) Requires: (php-composer(nikic/php-parser) >= 3.1.1 with php-composer(nikic/php-parser) < 4) -Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.23 with php-composer(microsoft/tolerant-php-parser) < 0.1) +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(symfony/console) >= 3.2 with php-composer(symfony/console) < 6) @@ -124,13 +128,14 @@ Requires: (php-composer(symfony/polyfill-php80) >= 1.19 with php # remirepo:14 %else Requires: php-ast >= 1.0.10 +Requires: php-var_representation Requires: php-composer(composer/semver) < 4 Requires: php-composer(composer/semver) >= 1.4 Requires: php-composer-xdebug-handler2 Requires: php-composer(felixfbecker/advanced-json-rpc) < 4 Requires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 -Requires: php-composer(microsoft/tolerant-php-parser) < 0.1 -Requires: php-composer(microsoft/tolerant-php-parser) >= 0.0.23 +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-symfony3-console >= 3.2 @@ -248,6 +253,11 @@ EOF %changelog +* Mon Jun 28 2021 Remi Collet <remi@remirepo.net> - 5.0.0~a2-1 +- update to 5.0.0a2 +- raise dependency on microsoft/tolerant-php-parser 0.1 +- add dependency on var_representation extension + * Mon May 31 2021 Remi Collet <remi@remirepo.net> - 5.0.0~a1-1 - update to 5.0.0a1 |