From bc924c8a213e0872b14d6a09831d28e196834b1a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Apr 2016 07:23:03 +0200 Subject: php-phpunit-phploc: 3.0.1 --- composer-dev.json | 39 +++++++++++++++++++++++++++++++++++++++ composer.json | 39 +++++++++++++++++++++++++++++++++++++++ php-phpunit-phploc-dev.spec | 22 +++++++++++----------- 3 files changed, 89 insertions(+), 11 deletions(-) create mode 100644 composer-dev.json create mode 100644 composer.json diff --git a/composer-dev.json b/composer-dev.json new file mode 100644 index 0000000..9a7eba1 --- /dev/null +++ b/composer-dev.json @@ -0,0 +1,39 @@ +{ + "name": "phploc/phploc", + "description": "A tool for quickly measuring the size of a PHP project.", + "homepage": "https://github.com/sebastianbergmann/phploc", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phploc/issues" + }, + "require": { + "php": ">=5.6", + "sebastian/finder-facade": "~1.1", + "sebastian/git": "~2.1", + "sebastian/version": "~1.0.3|~2.0", + "symfony/console": "~2.5|~3.0" + }, + "require-dev": { + "phpunit/phpunit": "~5" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "bin": [ + "phploc" + ], + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + } +} diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..df3df57 --- /dev/null +++ b/composer.json @@ -0,0 +1,39 @@ +{ + "name": "phploc/phploc", + "description": "A tool for quickly measuring the size of a PHP project.", + "homepage": "https://github.com/sebastianbergmann/phploc", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phploc/issues" + }, + "require": { + "php": ">=5.3.3", + "sebastian/finder-facade": "~1.1", + "sebastian/git": "~2.0", + "sebastian/version": "~1.0.3", + "symfony/console": "~2.5" + }, + "require-dev": { + "phpunit/phpunit": "~4" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "bin": [ + "phploc" + ], + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + } +} diff --git a/php-phpunit-phploc-dev.spec b/php-phpunit-phploc-dev.spec index 2600ac7..d2ce4e7 100644 --- a/php-phpunit-phploc-dev.spec +++ b/php-phpunit-phploc-dev.spec @@ -7,7 +7,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 2917d010fbfd503d9e836cefff249cb3c1b3f17a +%global gh_commit 74f917e6f80f291856989960d31afa44a4196859 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project phploc @@ -17,8 +17,8 @@ %global with_tests %{?_without_tests:0}%{!?_without_tests:1} Name: php-phpunit-phploc -Version: 3.0.0 -Release: 2%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: A tool for quickly measuring the size of a PHP project Group: Development/Libraries @@ -35,13 +35,9 @@ BuildRequires: php(language) >= 5.6 BuildRequires: php-composer(theseer/autoload) %if %{with_tests} BuildRequires: php-composer(sebastian/finder-facade) >= 1.1 -BuildRequires: php-composer(sebastian/finder-facade) < 2 -BuildRequires: php-composer(sebastian/git) >= 2.0 -BuildRequires: php-composer(sebastian/git) < 3 +BuildRequires: php-composer(sebastian/git) >= 2.1 BuildRequires: php-composer(sebastian/version) >= 1.0.3 -BuildRequires: php-composer(sebastian/version) < 3 BuildRequires: php-composer(symfony/console) >= 2.5 -BuildRequires: php-composer(symfony/console) < 4 # For our autoloader BuildRequires: php-composer(symfony/class-loader) # From composer.json, "require-dev": { @@ -52,14 +48,14 @@ BuildRequires: php-composer(phpunit/phpunit) >= 5 # From composer.json, "require": { # "php": ">=5.6", # "sebastian/finder-facade": "~1.1", -# "sebastian/git": "~2.0", -# "sebastian/version": "~1.0.3", +# "sebastian/git": "~2.1", +# "sebastian/version": "~1.0.3|~2.0", # "symfony/console": "~2.5|~3.0" Requires: php(language) >= 5.6 Requires: php-cli Requires: php-composer(sebastian/finder-facade) >= 1.1 Requires: php-composer(sebastian/finder-facade) < 2 -Requires: php-composer(sebastian/git) >= 2.0 +Requires: php-composer(sebastian/git) >= 2.1 Requires: php-composer(sebastian/git) < 3 Requires: php-composer(sebastian/version) >= 1.0.3 Requires: php-composer(sebastian/version) < 3 @@ -152,6 +148,10 @@ fi %changelog +* Tue Apr 26 2016 Remi Collet - 3.0.1-1 +- update to 3.0.1 +- raise dependency on sebastian/git >= 2.1 + * Mon Apr 18 2016 Remi Collet - 3.0.0-2 - allow sebastian/version 2.0 -- cgit