From 786d5e900d5e7c2d24e7831dc6ed37ad70229889 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Sep 2017 09:54:23 +0200 Subject: Update to 0.10.0 raise dependency on ast 0.1.5 add dependency on nikic/php-parser 3.1.1 move from etsy/phan to phan/phan --- phan.spec | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'phan.spec') diff --git a/phan.spec b/phan.spec index 8f51d8a..62686a0 100644 --- a/phan.spec +++ b/phan.spec @@ -6,16 +6,16 @@ # # Please, preserve the changelog entries # -%global gh_commit d2f3fbd719cb9236f1d85fb6018f9c8b7e41ffaa +%global gh_commit f54b4cd4206f68ed53bbc95910351fba8b6c9ada %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_owner etsy +%global gh_owner phan #global gh_date 20150820 %global gh_project phan %global psr0 Phan %global with_tests 0%{!?_without_tests:1} Name: %{gh_project} -Version: 0.9.4 +Version: 0.10.0 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: A static analyzer for PHP @@ -31,6 +31,8 @@ BuildArch: noarch %if %{with_tests} BuildRequires: php(language) >= 7.1 BuildRequires: php-ast >= 0.1.4 +BuildRequires: php-composer(nikic/php-parser) < 4 +BuildRequires: php-composer(nikic/php-parser) >= 3.1.1 BuildRequires: php-composer(symfony/console) < 4 BuildRequires: php-composer(symfony/console) >= 2.8 BuildRequires: php-reflection @@ -44,8 +46,8 @@ BuildRequires: php-spl BuildRequires: php-sysvmsg BuildRequires: php-sysvsem # For tests, from composer.json "require-dev": { -# "phpunit/phpunit": "^6.2.1" -BuildRequires: phpunit6 >= 6.2.1 +# "phpunit/phpunit": "^6.3.0" +BuildRequires: phpunit6 >= 6.3.0 BuildRequires: php-date BuildRequires: php-intl BuildRequires: php-soap @@ -54,11 +56,14 @@ BuildRequires: php-soap BuildRequires: php-composer(fedora/autoloader) # From composer.json, "require": { -# "php": "~7.1.0", -# "ext-ast": "^0.1.4", +# "php": "~7.1.0 || ~7.2.0", +# "ext-ast": "^0.1.5", +# "nikic/PHP-Parser": "~3.1.1", # "symfony/console": "~2.3|~3.0" Requires: php(language) >= 7.1 Requires: php-ast >= 0.1.4 +Requires: php-composer(nikic/php-parser) < 4 +Requires: php-composer(nikic/php-parser) >= 3.1.1 Requires: php-composer(symfony/console) < 4 Requires: php-composer(symfony/console) >= 2.3 # From phpcompatinfo report for 0.8.0 @@ -78,6 +83,7 @@ Requires: php-sysvsem Requires: php-composer(fedora/autoloader) # Composer +Provides: php-composer(etsy/%{gh_project}) = %{version} Provides: php-composer(%{gh_owner}/%{gh_project}) = %{version} @@ -97,12 +103,13 @@ cat << 'EOF' | tee src/autoload.php - 0.10.0-1 +- Update to 0.10.0 +- raise dependency on ast 0.1.5 +- add dependency on nikic/php-parser 3.1.1 +- move from etsy/phan to phan/phan + * Wed Aug 16 2017 Remi Collet - 0.9.4-1 - Update to 0.9.4 -- cgit