From e5436c1cc22e74fd3fca86c8ccfc8444acdaf3ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Apr 2020 09:07:50 +0200 Subject: update to 2.7.0 raise dependency on PHP 7.2 --- composer.json | 3 ++- phan.spec | 17 +++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 92817ee..112fffd 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,8 @@ "netresearch/jsonmapper": "^1.6.0|^2.0", "sabre/event": "^5.0", "symfony/console": "^2.3|^3.0|^4.0|^5.0", - "symfony/polyfill-mbstring": "^1.11.0" + "symfony/polyfill-mbstring": "^1.11.0", + "symfony/polyfill-php72": "^1.15" }, "suggest": { "ext-ast": "Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.6+ is recommended.", diff --git a/phan.spec b/phan.spec index 36867ba..e0eaf91 100644 --- a/phan.spec +++ b/phan.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for phan # -# Copyright (c) 2016-2019 Remi Collet +# Copyright (c) 2016-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -10,14 +10,14 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 184c591e5b31c1f98426ed8e147a61864bd0cc96 +%global gh_commit c1694f08654e0cd534d1ecda10f242c77a44f235 %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.6.1 +%global upstream_version 2.7.0 #global upstream_prever RC2 Name: %{gh_project} @@ -35,7 +35,7 @@ Patch0: %{name}-autoload.patch BuildArch: noarch %if %{with_tests} -BuildRequires: php(language) >= 7.1.0 +BuildRequires: php(language) >= 7.2 BuildRequires: php-ast >= 1.0.6 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -97,8 +97,9 @@ BuildRequires: php-composer(fedora/autoloader) # "netresearch/jsonmapper": "^1.6.0|^2.0", # "sabre/event": "^5.0", # "symfony/console": "^2.3|^3.0|~4.0|^5.0", -# "symfony/polyfill-mbstring": "^1.11.0" -Requires: php(language) >= 7.1.0 +# "symfony/polyfill-mbstring": "^1.11.0", +# "symfony/polyfill-php72": "^1.15" +Requires: php(language) >= 7.2 Requires: php-filter Requires: php-tokenizer Requires: php-json @@ -243,6 +244,10 @@ EOF %changelog +* Thu Apr 2 2020 Remi Collet - 2.7.0-1 +- update to 2.7.0 +- raise dependency on PHP 7.2 + * Sat Mar 14 2020 Remi Collet - 2.6.1-1 - update to 2.6.1 - allow netresearch/jsonmapper 2.0 -- cgit