summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-imagick.spec')
-rw-r--r--php-pecl-imagick.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 722780e..0b1d523 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -49,12 +49,14 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 0.10.%{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: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?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
URL: https://pecl.php.net/package/imagick
+Patch0: https://patch-diff.githubusercontent.com/raw/Imagick/imagick/pull/458.patch
+
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
@@ -194,6 +196,8 @@ then : "Font files detected!"
fi
cd NTS
+%patch0 -p1 -b .pr458
+
: Fix permission for archive generated on Windows
find . -type f -exec chmod -x {} \;
@@ -361,6 +365,10 @@ cd ../ZTS
%changelog
+* Mon Sep 20 2021 Remi Collet <remi@remirepo.net> - 3.5.1-3
+- fix #457 failed test with ImageMagick 6.9.12-23 and 7.1.0-8
+ using patch from https://github.com/Imagick/imagick/pull/458
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 3.5.1-2
- rebuild for 8.1.0RC1