summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-28 15:53:19 +0200
committerRemi Collet <remi@remirepo.net>2020-09-28 15:53:19 +0200
commitfb8dc6bde64bede6186edb611e324a6001873109 (patch)
tree076bc0dc26664641eb52d802edf7b01a7e8db386 /php-pecl-imagick.spec
parent94abfd85fee63633104a6b4410a050ff7637b53a (diff)
add patch for test suite with PHP 8 from
https://github.com/Imagick/imagick/pull/350 simpler warning
Diffstat (limited to 'php-pecl-imagick.spec')
-rw-r--r--php-pecl-imagick.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 908b1d6..3c940a1 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -37,7 +37,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 0.8.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz
%else
-Release: 12%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 13%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
%endif
License: PHP
@@ -47,6 +47,7 @@ Patch0: %{pecl_name}-php8.patch
Patch1: https://patch-diff.githubusercontent.com/raw/Imagick/imagick/pull/346.patch
Patch2: https://patch-diff.githubusercontent.com/raw/Imagick/imagick/pull/347.patch
Patch3: https://patch-diff.githubusercontent.com/raw/Imagick/imagick/pull/348.patch
+Patch4: https://patch-diff.githubusercontent.com/raw/Imagick/imagick/pull/350.patch
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 5.4
@@ -164,6 +165,7 @@ cd NTS
%patch1 -p1 -b .pr346
%patch2 -p1 -b .pr347
%patch3 -p1 -b .pr348
+%patch4 -p1 -b .pr350
extver=$(sed -n '/#define PHP_IMAGICK_VERSION/{s/.* "//;s/".*$//;p}' php_imagick.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
@@ -310,6 +312,10 @@ cd ../ZTS
%changelog
+* Mon Sep 28 2020 Remi Collet <remi@remirepo.net> - 3.4.4-13
+- add patch for test suite with PHP 8 from
+ https://github.com/Imagick/imagick/pull/350 - simpler warning
+
* Fri Sep 4 2020 Remi Collet <remi@remirepo.net> - 3.4.4-12
- add patches for PHP 8 from upstream and
https://github.com/Imagick/imagick/pull/346 - SPL always there