summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-page.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-page.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-page.spec21
1 files changed, 10 insertions, 11 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-page.spec b/php-tecnickcom-tc-lib-pdf-page.spec
index 7045bf6..cd30090 100644
--- a/php-tecnickcom-tc-lib-pdf-page.spec
+++ b/php-tecnickcom-tc-lib-pdf-page.spec
@@ -1,12 +1,12 @@
# remirepo/fedora spec file for php-tecnickcom-tc-lib-pdf-page
#
-# 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 gh_commit c86292d32b66652345ae7dcf9172d383c1d3d465
+%global gh_commit 43e0e6f95e4b64e85d068b03df4e0739f842507b
%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.3
+Version: 2.4.4
Release: 1%{?dist}
Summary: PHP library containing PDF page formats and definitions
@@ -91,14 +91,10 @@ require '%{php_project}/../../Color/autoload.php';
EOF
ret=0
-for cmd in php56 php; do
- if which $cmd; then
- $cmd %{_bindir}/phpunit --no-coverage --verbose || ret=1
- fi
-done
-for cmd in php70 php71 php72; do
- if which $cmd; then
- $cmd %{_bindir}/phpunit6 --no-coverage --verbose || ret=1
+for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" php70 php71 php72; do
+ if which $cmdarg; then
+ set $cmdarg
+ $1 ${2:-%{_bindir}/phpunit6} --no-coverage --verbose || ret=1
fi
done
exit $ret
@@ -116,6 +112,9 @@ exit $ret
%changelog
+* Tue Jan 2 2018 Remi Collet <remi@remirepo.net> - 2.4.4-1
+- Update to 2.4.4
+
* Mon May 8 2017 Remi Collet <remi@remirepo.net> - 2.4.3-1
- Update to 2.4.3