diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-02 14:05:34 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-02 14:05:34 +0200 |
commit | 65fa01793ccbd39b1b593ef1e6b03efb8ee702dd (patch) | |
tree | 7226fae4e7e8999b2d2fb51d24bf9c1d377819c8 /php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec | |
parent | 4fa8925a8fa77dab982b57e755e7e2c9ac15bac7 (diff) |
php-tecnickcom-tc-lib-pdf-page: 2.2.1
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec')
-rw-r--r-- | php-tecnickcom-tc-lib-pdf-page/php-tecnickcom-tc-lib-pdf-page.spec | 38 |
1 files changed, 27 insertions, 11 deletions
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) |