From 9645f608c40c55a3cf22dd5c45ef7f94a1de5c52 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 12 Feb 2017 17:11:38 +0100 Subject: php-tecnickcom-tc-lib-pdf-graph: 1.4.4 --- php-tecnickcom-tc-lib-pdf-graph/composer.json | 18 ++++++++-------- .../php-tecnickcom-tc-lib-pdf-graph.spec | 24 ++++++++++++++-------- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/php-tecnickcom-tc-lib-pdf-graph/composer.json b/php-tecnickcom-tc-lib-pdf-graph/composer.json index 42e6098..5cfbcbc 100644 --- a/php-tecnickcom-tc-lib-pdf-graph/composer.json +++ b/php-tecnickcom-tc-lib-pdf-graph/composer.json @@ -15,18 +15,18 @@ "require": { "php": ">=5.4", "ext-zlib": "*", - "tecnickcom/tc-lib-color": "^1.12.4", - "tecnickcom/tc-lib-pdf-encrypt": "^1.4.4" + "tecnickcom/tc-lib-color": "^1.12.6", + "tecnickcom/tc-lib-pdf-encrypt": "^1.5.2" }, "require-dev": { "apigen/apigen" : "^4.1.2", - "bartlett/php-compatinfo" : "^5.0.0", - "pdepend/pdepend" : "^2.2.2", - "phploc/phploc" : "^2.1.5|^3.0.0", - "phpmd/phpmd" : "^2.3.2", - "phpunit/phpunit": "4.8.19|^5.0.0", - "sebastian/phpcpd" : "^2.0.2", - "squizlabs/php_codesniffer": "^2.5.0|^3.0.0" + "bartlett/php-compatinfo" : "^5.0.4", + "pdepend/pdepend" : "^2.5.0", + "phploc/phploc" : "^2.1.5 || ^3.0.1", + "phpmd/phpmd" : "^2.6.0", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0", + "sebastian/phpcpd" : "^2.0.4 || 3.0.0", + "squizlabs/php_codesniffer": "^2.8.0 || ^3.0.0" }, "autoload": { "psr-4":{ diff --git a/php-tecnickcom-tc-lib-pdf-graph/php-tecnickcom-tc-lib-pdf-graph.spec b/php-tecnickcom-tc-lib-pdf-graph/php-tecnickcom-tc-lib-pdf-graph.spec index 13732d2..3530f08 100644 --- a/php-tecnickcom-tc-lib-pdf-graph/php-tecnickcom-tc-lib-pdf-graph.spec +++ b/php-tecnickcom-tc-lib-pdf-graph/php-tecnickcom-tc-lib-pdf-graph.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 4b488e21b65cf9d7df9daf071c18acf5c1bc9d32 +%global gh_commit 264bed779bdb1f4e2ab17cfb611256e37a042d2d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{gh_owner}-%{gh_project} -Version: 1.4.3 +Version: 1.4.4 Release: 1%{?dist} Summary: PHP library containing PDF graphic and geometric methods @@ -30,8 +30,8 @@ BuildArch: noarch # For tests BuildRequires: php-composer(phpunit/phpunit) BuildRequires: php(language) >= 5.4 -BuildRequires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.1 -BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.4.3 +BuildRequires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.6 +BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.2 %endif # From composer.json, "require": { @@ -41,9 +41,9 @@ BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.4.3 # "tecnickcom/tc-lib-pdf-encrypt": "^1.4.4" Requires: php(language) >= 5.4 Requires: php-zlib -Requires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.1 +Requires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.6 Requires: php-composer(%{c_vendor}/tc-lib-color) < 2 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.4.3 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.2 Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2 # From phpcompatinfo report for version 1.4.2 # none @@ -89,9 +89,14 @@ require '%{php_project}/../../Color/autoload.php'; EOF ret=0 -for cmd in php56 php70 php71 php; do +for cmd in php56 php; do if which $cmd; then - $cmd %{_bindir}/phpunit --verbose || ret=1 + $cmd %{_bindir}/phpunit --no-coverage --verbose || ret=1 + fi +done +for cmd in php70 php71; do + if which $cmd; then + $cmd %{_bindir}/phpunit6 --no-coverage --verbose || ret=1 fi done exit $ret @@ -115,6 +120,9 @@ rm -rf %{buildroot} %changelog +* Sun Feb 12 2017 Remi Collet - 1.4.4-1 +- update to 1.4.4 (no change) + * Mon Feb 6 2017 Remi Collet - 1.4.3-1 - update to 1.4.3 (no change) -- cgit