summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-graph.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-graph.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-graph.spec32
1 files changed, 17 insertions, 15 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-graph.spec b/php-tecnickcom-tc-lib-pdf-graph.spec
index 090ad43..c956430 100644
--- a/php-tecnickcom-tc-lib-pdf-graph.spec
+++ b/php-tecnickcom-tc-lib-pdf-graph.spec
@@ -1,12 +1,12 @@
# remirepo/fedora spec file for php-tecnickcom-tc-lib-pdf-graph
#
-# Copyright (c) 2016-2018 Remi Collet
+# Copyright (c) 2016-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%global gh_commit 9b649b1c402ad679bd9a61be4eaf67aa0f0c8479
+%global gh_commit db243a7c5449ed7ecb94d082ec90aa3aecdd4586
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
@@ -15,11 +15,10 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}
-Version: 1.4.8
+Version: 1.4.9
Release: 1%{?dist}
Summary: PHP library containing PDF graphic and geometric methods
-Group: Development/Libraries
License: LGPLv3+
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{?gh_short}.tar.gz
@@ -35,31 +34,31 @@ BuildArch: noarch
BuildRequires: %{phpunit}
BuildRequires: php(language) >= 5.4
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 1.12.1 with php-composer(%{c_vendor}/tc-lib-color) < 2)
-BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.2 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2)
+BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 1.12.13 with php-composer(%{c_vendor}/tc-lib-color) < 2)
+BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.8 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2)
%else
BuildRequires: php-composer(%{c_vendor}/tc-lib-color) < 2
-BuildRequires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.1
+BuildRequires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.13
BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2
-BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.2
+BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.8
%endif
%endif
# From composer.json, "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.13",
+# "tecnickcom/tc-lib-pdf-encrypt": "^1.5.8"
Requires: php(language) >= 5.4
Requires: php-zlib
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 1.12.6 with php-composer(%{c_vendor}/tc-lib-color) < 2)
-Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.2 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2)
+Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 1.12.13 with php-composer(%{c_vendor}/tc-lib-color) < 2)
+Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.8 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2)
%else
Requires: php-composer(%{c_vendor}/tc-lib-color) < 2
-Requires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.6
+Requires: php-composer(%{c_vendor}/tc-lib-color) >= 1.12.13
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2
-Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.2
+Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.5.8
%endif
# From phpcompatinfo report for version 1.4.2
# none
@@ -104,7 +103,7 @@ require '%{php_project}/../../Color/autoload.php';
EOF
ret=0
-for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" "php70 %{_bindir}/phpunit6" php71 php72 php73; do
+for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" "php70 %{_bindir}/phpunit6" php71 php72 php73 php74; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit7} --no-coverage --verbose || ret=1
@@ -126,6 +125,9 @@ exit $ret
%changelog
+* Fri Sep 20 2019 Remi Collet <remi@remirepo.net> - 1.4.9-1
+- update to 1.4.9
+
* Mon Jun 25 2018 Remi Collet <remi@remirepo.net> - 1.4.8-1
- update to 1.4.8 (no change)