summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json61
-rw-r--r--php-zendframework-zend-console.spec40
2 files changed, 63 insertions, 38 deletions
diff --git a/composer.json b/composer.json
index ca7374b..2e66ab4 100644
--- a/composer.json
+++ b/composer.json
@@ -1,17 +1,34 @@
{
"name": "zendframework/zend-console",
- "description": " ",
+ "description": "Build console applications using getopt syntax or routing, complete with prompts",
"license": "BSD-3-Clause",
"keywords": [
- "zf2",
+ "zf",
+ "zendframework",
"console"
],
- "homepage": "https://github.com/zendframework/zend-console",
- "extra": {
- "branch-alias": {
- "dev-master": "2.6-dev",
- "dev-develop": "2.7-dev"
- }
+ "support": {
+ "docs": "https://docs.zendframework.com/zend-console/",
+ "issues": "https://github.com/zendframework/zend-console/issues",
+ "source": "https://github.com/zendframework/zend-console",
+ "rss": "https://github.com/zendframework/zend-console/releases.atom",
+ "slack": "https://zendframework-slack.herokuapp.com",
+ "forum": "https://discourse.zendframework.com/c/questions/components"
+ },
+ "require": {
+ "php": "^5.6 || ^7.0",
+ "zendframework/zend-stdlib": "^2.7.7 || ^3.1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^5.7.23 || ^6.4.3",
+ "zendframework/zend-coding-standard": "~1.0.0",
+ "zendframework/zend-filter": "^2.7.2",
+ "zendframework/zend-json": "^2.6 || ^3.0",
+ "zendframework/zend-validator": "^2.10.1"
+ },
+ "suggest": {
+ "zendframework/zend-filter": "To support DefaultRouteMatcher usage",
+ "zendframework/zend-validator": "To support DefaultRouteMatcher usage"
},
"autoload": {
"psr-4": {
@@ -23,19 +40,23 @@
"ZendTest\\Console\\": "test/"
}
},
- "require": {
- "php": "^5.5 || ^7.0",
- "zendframework/zend-stdlib": "^2.7 || ^3.0"
+ "config": {
+ "sort-packages": true
},
- "require-dev": {
- "fabpot/php-cs-fixer": "1.7.*",
- "phpunit/PHPUnit": "^4.0",
- "zendframework/zend-filter": "^2.6",
- "zendframework/zend-json": "^2.6",
- "zendframework/zend-validator": "^2.5"
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.7.x-dev",
+ "dev-develop": "2.8.x-dev"
+ }
},
- "suggest": {
- "zendframework/zend-filter": "To support DefaultRouteMatcher usage",
- "zendframework/zend-validator": "To support DefaultRouteMatcher usage"
+ "scripts": {
+ "check": [
+ "@cs-check",
+ "@test"
+ ],
+ "cs-check": "phpcs",
+ "cs-fix": "phpcbf",
+ "test": "phpunit --colors=always",
+ "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
}
}
diff --git a/php-zendframework-zend-console.spec b/php-zendframework-zend-console.spec
index 5defad2..21e7b96 100644
--- a/php-zendframework-zend-console.spec
+++ b/php-zendframework-zend-console.spec
@@ -1,13 +1,13 @@
# remirepo/Fedora spec file for php-zendframework-zend-console
#
-# Copyright (c) 2015-2017 Remi Collet
+# Copyright (c) 2015-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit cbbdfdfa0564aa20d1c6c6ef3daeafe6aec02360
+%global gh_commit e8aa08da83de3d265256c40ba45cd649115f0e18
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner zendframework
%global gh_project zend-console
@@ -20,7 +20,7 @@
%endif
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.6.0
+Version: 2.7.0
Release: 1%{?dist}
Summary: Zend Framework %{library} component
@@ -33,7 +33,7 @@ Source1: makesrc.sh
BuildArch: noarch
# Tests
%if %{with_tests}
-BuildRequires: php(language) >= 5.5
+BuildRequires: php(language) >= 5.6
BuildRequires: php-ctype
BuildRequires: php-dom
BuildRequires: php-pcre
@@ -42,25 +42,25 @@ BuildRequires: php-spl
BuildRequires: php-xml
BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7
# From composer, "require-dev": {
-# "fabpot/php-cs-fixer": "1.7.*",
-# "phpunit/PHPUnit": "~4.0",
-# "zendframework/zend-filter": "^2.6",
-# "zendframework/zend-json": "^2.6",
-# "zendframework/zend-validator": "^2.5"
-BuildRequires: php-composer(%{gh_owner}/zend-filter) >= 2.5
-BuildRequires: php-composer(%{gh_owner}/zend-json) >= 2.5
-BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.5
-BuildRequires: php-composer(phpunit/phpunit) >= 4.0
+# "phpunit/phpunit": "^5.7.23 || ^6.4.3",
+# "zendframework/zend-coding-standard": "~1.0.0",
+# "zendframework/zend-filter": "^2.7.2",
+# "zendframework/zend-json": "^2.6 || ^3.0",
+# "zendframework/zend-validator": "^2.10.1"
+BuildRequires: php-composer(phpunit/phpunit) >= 5.7
+BuildRequires: php-composer(%{gh_owner}/zend-filter) >= 2.7.2
+BuildRequires: php-composer(%{gh_owner}/zend-json) >= 2.6
+BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.10.1
# Autoloader
BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5
%endif
# From composer, "require": {
-# "php": "^5.5 || ^7.0",
-# "zendframework/zend-stdlib": "^2.7 || ^3.0"
-Requires: php(language) >= 5.5
+# "php": "^5.6 || ^7.0",
+# "zendframework/zend-stdlib": "^2.7.7 || ^3.1"
+Requires: php(language) >= 5.6
%if ! %{bootstrap}
-Requires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7
+Requires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7.7
Requires: php-composer(%{gh_owner}/zend-stdlib) < 4
# From composer, "suggest": {
# "zendframework/zend-validator": "To support DefaultRouteMatcher usage",
@@ -120,7 +120,7 @@ require_once '%{php_home}/Zend/autoload.php';
EOF
ret=0
-for cmd in php php56 php70 php71 php72; do
+for cmd in php php70 php71 php72; do
if which $cmd; then
$cmd %{_bindir}/phpunit || ret=1
fi
@@ -140,6 +140,10 @@ exit $ret
%changelog
+* Fri Jan 26 2018 Remi Collet <remi@remirepo.net> - 2.7.0-1
+- Update to 2.7.0
+- raise dependency on PHP 5.6
+
* Fri Feb 12 2016 Remi Collet <remi@fedoraproject.org> - 2.6.0-1
- update to 2.6.0
- raise dependency on PHP >= 5.5