summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-tecnickcom-tc-lib-pdf-page/composer.json4
-rw-r--r--php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec38
2 files changed, 29 insertions, 13 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-page/composer.json b/php-tecnickcom-tc-lib-pdf-page/composer.json
index 6b04572..86ee9ca 100644
--- a/php-tecnickcom-tc-lib-pdf-page/composer.json
+++ b/php-tecnickcom-tc-lib-pdf-page/composer.json
@@ -14,8 +14,8 @@
],
"require": {
"php": ">=5.4",
- "tecnickcom/tc-lib-pdf-encrypt": "^1.4.0",
- "tecnickcom/tc-lib-color": "^1.11.0"
+ "tecnickcom/tc-lib-pdf-encrypt": "^1.4.3",
+ "tecnickcom/tc-lib-color": "^1.12.1"
},
"require-dev": {
"apigen/apigen" : "^4.1.2",
diff --git a/php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec b/php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec
index c3bdc78..4fc186f 100644
--- a/php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec
+++ b/php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 04f39fa8ab640a8e9cd415fd59b7cf12082fab04
+%global gh_commit ed31eae6fa69ea179bfaa737a521512058de64ce
%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: 2.1.0
+Version: 2.2.1
Release: 1%{?dist}
Summary: PHP library containing PDF page formats and definitions
@@ -30,20 +30,20 @@ BuildArch: noarch
# For tests
BuildRequires: php-composer(phpunit/phpunit)
BuildRequires: php(language) >= 5.4
-BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.3.0
-BuildRequires: php-composer(%{c_vendor}/tc-lib-color) >= 1.9.0
+BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.4.3
+BuildRequires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.1
BuildRequires: php-date
BuildRequires: php-zlib
%endif
# From composer.json, "require": {
# "php": ">=5.4"
-# "tecnickcom/tc-lib-pdf-encrypt": "^1.4.0",
-# "tecnickcom/tc-lib-color": "^1.4.0"
+# "tecnickcom/tc-lib-pdf-encrypt": "^1.4.3",
+# "tecnickcom/tc-lib-color": "^1.12.1"
Requires: php(language) >= 5.4
-Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.4.0
+Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.4.3
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2
-Requires: php-composer(%{c_vendor}/tc-lib-color) >= 1.11.0
+Requires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.1
Requires: php-composer(%{c_vendor}/tc-lib-color) < 2
# From phpcompatinfo report for version 2.0.1
Requires: php-date
@@ -89,11 +89,22 @@ require '%{buildroot}%{php_project}/autoload.php';
require '%{php_project}/../../Color/autoload.php';
EOF
+# remirepo:11
+run=0
+ret=0
+if which php56; then
+ php56 %{_bindir}/phpunit || ret=1
+ run=1
+fi
+if which php71; then
+ php71 %{_bindir}/phpunit || ret=1
+ run=1
+fi
+if [ $run -eq 0 ]; then
%{_bindir}/phpunit --verbose
-
-if which php70; then
- php70 %{_bindir}/phpunit --verbose
+# remirepo:2
fi
+exit $ret
%else
: Test suite disabled
%endif
@@ -113,6 +124,11 @@ rm -rf %{buildroot}
%changelog
+* Fri Sep 2 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-1
+- update to 2.2.1
+- raise dependency on tecnickcom/tc-lib-color >= 1.12.1
+- raise dependency on tecnickcom/tc-lib-pdf-encrypt >= 1.4.3
+
* Tue Jun 14 2016 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
- update to 2.1.0 (no change)