From ac4ab99584be486e30a65fd53be56e48dcd6156d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Nov 2017 06:16:01 +0100 Subject: v2.8.0 --- php-cs-fixer.spec | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) (limited to 'php-cs-fixer.spec') diff --git a/php-cs-fixer.spec b/php-cs-fixer.spec index daef3ec..fa2b301 100644 --- a/php-cs-fixer.spec +++ b/php-cs-fixer.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit ab2e189d94698178988f9732bc75bb4ce8d16f77 +%global gh_commit 89e7b083f27241e03dd776cb8d6781c77e341db6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20150717 %global gh_owner FriendsOfPHP @@ -16,12 +16,14 @@ # Bundled this fork which is not designed for use outside of php-cs-fixer %global gh_diff_owner PHP-CS-Fixer -%global gh_diff_version 1.1.0 -%global gh_diff_commit d068edadcb8f7bc2ea3d3769cdbaf609026ec4f4 +%global gh_diff_version 1.2.0 +%global gh_diff_commit f0ef6133d674137e902fdf8a6f2e8e97e14a087b %global gh_diff_short %(c=%{gh_diff_commit}; echo ${c:0:7}) +# TODO: gecko-packages/gecko-php-unit v3 to use phpunit6 + Name: php-cs-fixer -Version: 2.7.1 +Version: 2.8.0 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist} Summary: A tool to automatically fix PHP code style @@ -81,12 +83,12 @@ BuildRequires: php-composer(symfony/debug) < 4 BuildRequires: php-composer(symfony/debug) >= 3.2 # From composer.json, "require-dev": { # NOTICE: listener disabled during test suite -# "johnkary/phpunit-speedtrap": "^1.1", +# "johnkary/phpunit-speedtrap": "^1.1 || ^2.0@dev", # "justinrainbow/json-schema": "^5.0", +# "satooshi/php-coveralls": "^1.0.2", # "php-cs-fixer/accessible-object": "^1.0", -# "phpunit/phpunit": "^4.8.35 || ^5.4.3", -# "satooshi/php-coveralls": "^1.0", -# "symfony/phpunit-bridge": "^3.2" +# "phpunit/phpunit": "^5.7.23 || ^6.4.3", +# "symfony/phpunit-bridge": "^3.2.2 || ^4.0" BuildRequires: php-composer(justinrainbow/json-schema) < 6 BuildRequires: php-composer(justinrainbow/json-schema) >= 5.0 BuildRequires: php-composer(php-cs-fixer/accessible-object) < 2 @@ -104,19 +106,19 @@ BuildRequires: php-fedora-autoloader-devel # "ext-tokenizer": "*", # "composer/semver": "^1.4", # "doctrine/annotations": "^1.2", -# "gecko-packages/gecko-php-unit": "^2.0", +# "gecko-packages/gecko-php-unit": "^2.0 || ^3.0", # Bundled -# "php-cs-fixer/diff": "^1.0", -# "symfony/console": "^3.2", -# "symfony/event-dispatcher": "^3.0", -# "symfony/filesystem": "^3.0", -# "symfony/finder": "^3.0", -# "symfony/options-resolver": "^3.0", +# "php-cs-fixer/diff": "^1.2", +# "symfony/console": "^3.2 || ^4.0", +# "symfony/event-dispatcher": "^3.0 || ^4.0", +# "symfony/filesystem": "^3.0 || ^4.0", +# "symfony/finder": "^3.0 || ^4.0", +# "symfony/options-resolver": "^3.0 || ^4.0", # "symfony/polyfill-php70": "^1.0", # "symfony/polyfill-php72": "^1.4", # "symfony/polyfill-xml": "^1.3", -# "symfony/process": "^3.0", -# "symfony/stopwatch": "^3.0" +# "symfony/process": "^3.0 || ^4.0", +# "symfony/stopwatch": "^3.0 || ^4.0" Requires: php(language) >= 5.6 Requires: php-json Requires: php-tokenizer @@ -164,6 +166,7 @@ Requires: php-xml # Autoloader Requires: php-composer(fedora/autoloader) +Provides: bundled(php-cs-fixer/diff) = %{gh_diff_version} Provides: php-composer(friendsofphp/php-cs-fixer) = %{version} @@ -282,6 +285,9 @@ exit $ret %changelog +* Fri Nov 3 2017 Remi Collet - 2.8.0-1 +- Update to 2.8.0 + * Mon Oct 2 2017 Remi Collet - 2.7.1-1 - Update to 2.7.1 -- cgit