From dc4e9a97808a996584fbbadd760245c7c2720e17 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Aug 2017 13:16:11 +0200 Subject: v2.2.5 --- php-cs-fixer.spec | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) (limited to 'php-cs-fixer.spec') diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec index ab39539..6d1875d 100644 --- a/php-cs-fixer.spec +++ b/php-cs-fixer.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 5191e01d0fa0f579eb709350306cd11ad6427ca6 +%global gh_commit 27c2cd9d4abd2178b5b585fa2c3cca656d377c69 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20150717 %global gh_owner FriendsOfPHP @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-cs-fixer -Version: 2.2.4 +Version: 2.2.5 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist} Summary: A tool to automatically fix PHP code style @@ -49,9 +49,11 @@ BuildRequires: php-composer(symfony/finder) >= 2.4 BuildRequires: php-composer(symfony/options-resolver) < 3 BuildRequires: php-composer(symfony/options-resolver) >= 2.6 BuildRequires: php-composer(symfony/polyfill-php55) < 2 -BuildRequires: php-composer(symfony/polyfill-php55) >= 1.3 +BuildRequires: php-composer(symfony/polyfill-php55) >= 1.4 BuildRequires: php-composer(symfony/polyfill-php70) < 2 -BuildRequires: php-composer(symfony/polyfill-php70) >= 1.3 +BuildRequires: php-composer(symfony/polyfill-php70) >= 1.4 +BuildRequires: php-composer(symfony/polyfill-php72) < 2 +BuildRequires: php-composer(symfony/polyfill-php72) >= 1.4 BuildRequires: php-composer(symfony/process) < 3 BuildRequires: php-composer(symfony/process) >= 2.3 BuildRequires: php-composer(symfony/stopwatch) < 3 @@ -79,7 +81,7 @@ BuildRequires: php-composer(justinrainbow/json-schema) >= 5 BuildRequires: php-composer(phpunit/phpunit) >= 4.8.35 BuildRequires: php-composer(symfony/phpunit-bridge) # Autoloader -BuildRequires: php-composer(fedora/autoloader) +BuildRequires: php-fedora-autoloader-devel %endif # From composer.json, "require": { @@ -97,7 +99,7 @@ BuildRequires: php-composer(fedora/autoloader) # "symfony/polyfill-php54": "^1.0", # "symfony/polyfill-php55": "^1.3", # "symfony/polyfill-php70": "^1.0", -# "symfony/polyfill-xml": "^1.3", +# "symfony/polyfill-php72": "^1.4", # "symfony/process": "^2.3 || ^3.0", # "symfony/stopwatch": "^2.5 || ^3.0" # use 5.4 to avoid polyfill @@ -121,26 +123,27 @@ Requires: php-composer(symfony/finder) >= 2.4 Requires: php-composer(symfony/options-resolver) < 3 Requires: php-composer(symfony/options-resolver) >= 2.6 Requires: php-composer(symfony/polyfill-php55) < 2 -Requires: php-composer(symfony/polyfill-php55) >= 1.3 +Requires: php-composer(symfony/polyfill-php55) >= 1.4 Requires: php-composer(symfony/polyfill-php70) < 2 -Requires: php-composer(symfony/polyfill-php70) >= 1.0 +Requires: php-composer(symfony/polyfill-php70) >= 1.4 +Requires: php-composer(symfony/polyfill-php72) < 2 +Requires: php-composer(symfony/polyfill-php72) >= 1.4 Requires: php-composer(symfony/process) < 3 Requires: php-composer(symfony/process) >= 2.3 Requires: php-composer(symfony/stopwatch) < 3 Requires: php-composer(symfony/stopwatch) >= 2.5 # From composer.json, "suggest": { # "ext-mbstring": "For handling non-UTF8 characters in cache signature.", -# "ext-xml": "For better performance.", # "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." Requires: php-mbstring -Requires: php-xml -# From phpcompatinfo report for version 2.0.0 +# From phpcompatinfo report for version 2.2.5 Requires: php-cli Requires: php-reflection Requires: php-dom Requires: php-pcre Requires: php-phar Requires: php-spl +Requires: php-xml # Autoloader Requires: php-composer(fedora/autoloader) @@ -161,9 +164,21 @@ projects. This tool does not only detect them, but also fixes them for you. %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm -cat << 'EOF' | tee src/autoload.php - - 2.2.5-1 +- add dependency on symfony/polyfill-php72 +- Update to 2.2.5 + * Thu May 25 2017 Remi Collet - 2.2.4-1 - Update to 2.2.4 - add dependency on gecko-packages/gecko-php-unit -- cgit