diff options
Diffstat (limited to 'phan.spec')
-rw-r--r-- | phan.spec | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit f54b4cd4206f68ed53bbc95910351fba8b6c9ada +%global gh_commit 2085277ba7b96a00e1351c52012ffc9b103ec769 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phan #global gh_date 20150820 @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: %{gh_project} -Version: 0.10.0 +Version: 0.10.1 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: A static analyzer for PHP @@ -31,8 +31,12 @@ BuildArch: noarch %if %{with_tests} BuildRequires: php(language) >= 7.1 BuildRequires: php-ast >= 0.1.4 +BuildRequires: php-composer(felixfbecker/advanced-json-rpc) < 3 +BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 2.0 BuildRequires: php-composer(nikic/php-parser) < 4 BuildRequires: php-composer(nikic/php-parser) >= 3.1.1 +BuildRequires: php-composer(sabre/event) < 6 +BuildRequires: php-composer(sabre/event) >= 5.0 BuildRequires: php-composer(symfony/console) < 4 BuildRequires: php-composer(symfony/console) >= 2.8 BuildRequires: php-reflection @@ -58,12 +62,18 @@ BuildRequires: php-composer(fedora/autoloader) # From composer.json, "require": { # "php": "~7.1.0 || ~7.2.0", # "ext-ast": "^0.1.5", +# "felixfbecker/advanced-json-rpc": "^2.0", # "nikic/PHP-Parser": "~3.1.1", +# "sabre/event": "^5.0", # "symfony/console": "~2.3|~3.0" Requires: php(language) >= 7.1 Requires: php-ast >= 0.1.4 +Requires: php-composer(felixfbecker/advanced-json-rpc) < 3 +Requires: php-composer(felixfbecker/advanced-json-rpc) >= 2.0 Requires: php-composer(nikic/php-parser) < 4 Requires: php-composer(nikic/php-parser) >= 3.1.1 +Requires: php-composer(sabre/event) < 6 +Requires: php-composer(sabre/event) >= 5.0 Requires: php-composer(symfony/console) < 4 Requires: php-composer(symfony/console) >= 2.3 # From phpcompatinfo report for 0.8.0 @@ -106,7 +116,9 @@ cat << 'EOF' | tee src/autoload.php require_once '%{_datadir}/php/Fedora/Autoloader/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('Phan\\', __DIR__ . '/Phan'); \Fedora\Autoloader\Dependencies::required([ + '%{_datadir}/php/AdvancedJsonRpc/autoload.php', '%{_datadir}/php/PhpParser3/autoload.php', + '%{_datadir}/php/Sabre/Event5/autoload.php', [ '%{_datadir}/php/Symfony3/Component/Console/autoload.php', '%{_datadir}/php/Symfony/Component/Console/autoload.php', @@ -165,6 +177,11 @@ rm -rf %{buildroot} %changelog +* Sat Oct 21 2017 Remi Collet <remi@remirepo.net> - 0.10.1-1 +- Update to 0.10.1 +- add dependency on felixfbecker/advanced-json-rpc 2.0 +- add dependency on sabre/event 5.0 + * Mon Sep 25 2017 Remi Collet <remi@remirepo.net> - 0.10.0-1 - Update to 0.10.0 - raise dependency on ast 0.1.5 |