summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-page
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-06 08:30:40 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-06 08:30:40 +0100
commit0aaa699a40e13d00dface803ac97b2b22e67ec16 (patch)
treed69eab872dd841a9cd412919ec257cbaf48bc785 /php-tecnickcom-tc-lib-pdf-page
parent4268611e3beeab727d849f63043097c0a14e5863 (diff)
php-tecnickcom-tc-lib-pdf-page: 2.4.1
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-page')
-rw-r--r--php-tecnickcom-tc-lib-pdf-page/composer.json6
-rw-r--r--php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec37
2 files changed, 21 insertions, 22 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-page/composer.json b/php-tecnickcom-tc-lib-pdf-page/composer.json
index 86ee9ca..4edabe7 100644
--- a/php-tecnickcom-tc-lib-pdf-page/composer.json
+++ b/php-tecnickcom-tc-lib-pdf-page/composer.json
@@ -14,8 +14,10 @@
],
"require": {
"php": ">=5.4",
- "tecnickcom/tc-lib-pdf-encrypt": "^1.4.3",
- "tecnickcom/tc-lib-color": "^1.12.1"
+ "ext-date": "*",
+ "ext-zlib": "*",
+ "tecnickcom/tc-lib-pdf-encrypt": "^1.4.4",
+ "tecnickcom/tc-lib-color": "^1.12.4"
},
"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 10df390..69f0d4f 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 a2bdafb3e9e2c1dca46c2a577d6e36e6b842ae57
+%global gh_commit e62193cc9d415136514b9e7abf99c46abdc526cc
%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.4.0
+Version: 2.4.1
Release: 1%{?dist}
Summary: PHP library containing PDF page formats and definitions
@@ -38,16 +38,19 @@ BuildRequires: php-zlib
# From composer.json, "require": {
# "php": ">=5.4"
-# "tecnickcom/tc-lib-pdf-encrypt": "^1.4.3",
-# "tecnickcom/tc-lib-color": "^1.12.1"
+# "ext-date": "*",
+# "ext-zlib": "*",
+# "tecnickcom/tc-lib-pdf-encrypt": "^1.4.4",
+# "tecnickcom/tc-lib-color": "^1.12.4"
Requires: php(language) >= 5.4
+Requires: php-date
+Requires: php-zlib
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.12.1
Requires: php-composer(%{c_vendor}/tc-lib-color) < 2
# From phpcompatinfo report for version 2.0.1
-Requires: php-date
-Requires: php-zlib
+# None
# Composer
Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}
@@ -89,21 +92,12 @@ 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
-# remirepo:2
-fi
+for cmd in php56 php70 php71 php; do
+ if which $cmd; then
+ $cmd %{_bindir}/phpunit --verbose || ret=1
+ fi
+done
exit $ret
%else
: Test suite disabled
@@ -124,6 +118,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Feb 6 2017 Remi Collet <remi@remirepo.net> - 2.4.1-1
+- update to 2.4.1
+
* Sun Oct 16 2016 Remi Collet <remi@fedoraproject.org> - 2.4.0-1
- update to 2.4.0