From d09b2d932418105318d56e743df853133cf6dd3b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 11 Dec 2019 11:04:59 +0100 Subject: - update to 2.4.5 - allow Symfony 5 --- composer.json | 2 +- phan.spec | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index df1e5d3..4c2be2b 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "microsoft/tolerant-php-parser": "0.0.18", "netresearch/jsonmapper": "^1.6.0", "sabre/event": "^5.0", - "symfony/console": "^2.3|^3.0|~4.0", + "symfony/console": "^2.3|^3.0|^4.0|^5.0", "symfony/polyfill-mbstring": "^1.11.0" }, "suggest": { diff --git a/phan.spec b/phan.spec index a4f58ff..c20e25c 100644 --- a/phan.spec +++ b/phan.spec @@ -10,14 +10,14 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 9236f30e5b6ccb582ebc77b1635eabe08bdecf9e +%global gh_commit 12f64e878084244ca92d1ac83e58a668640f6f1d %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 %global with_tests 0%{!?_without_tests:1} -%global upstream_version 2.4.4 +%global upstream_version 2.4.5 #global upstream_prever RC2 Name: %{gh_project} @@ -45,7 +45,7 @@ BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.4 with php- BuildRequires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.18 with php-composer(microsoft/tolerant-php-parser) < 0.1) BuildRequires: (php-composer(netresearch/jsonmapper) >= 1.6 with php-composer(netresearch/jsonmapper) < 2) BuildRequires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6) -BuildRequires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5) +BuildRequires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 6) # remirepo:15 %else BuildRequires: php-composer(composer/semver) < 2 @@ -96,7 +96,7 @@ BuildRequires: php-composer(fedora/autoloader) # "microsoft/tolerant-php-parser": "0.0.18", # "netresearch/jsonmapper": "^1.6.0", # "sabre/event": "^5.0", -# "symfony/console": "^2.3|^3.0|~4.0", +# "symfony/console": "^2.3|^3.0|~4.0|^5.0", # "symfony/polyfill-mbstring": "^1.11.0" Requires: php(language) >= 7.1.0 Requires: php-filter @@ -120,7 +120,7 @@ Requires: (php-composer(nikic/php-parser) >= 3.1.1 with php- Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.18 with php-composer(microsoft/tolerant-php-parser) < 0.1) Requires: (php-composer(netresearch/jsonmapper) >= 1.6 with php-composer(netresearch/jsonmapper) < 2) Requires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6) -Requires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5) +Requires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 6) # remirepo:16 %else Requires: php-ast >= 0.1.5 @@ -185,6 +185,7 @@ require_once '%{_datadir}/php/Fedora/Autoloader/autoload.php'; '%{_datadir}/php/netresearch/jsonmapper/autoload.php', '%{_datadir}/php/Sabre/Event5/autoload.php', [ + '%{_datadir}/php/Symfony5/Component/Console/autoload.php', '%{_datadir}/php/Symfony4/Component/Console/autoload.php', '%{_datadir}/php/Symfony3/Component/Console/autoload.php', '%{_datadir}/php/Symfony/Component/Console/autoload.php', @@ -242,6 +243,10 @@ EOF %changelog +* Wed Dec 11 2019 Remi Collet - 2.4.5-1 +- update to 2.4.5 +- allow Symfony 5 + * Mon Nov 25 2019 Remi Collet - 2.4.4-1 - update to 2.4.4 -- cgit