From 258fa728d64bd82631fa68fb8695540af20ab9b8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Sep 2021 14:48:35 +0200 Subject: 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 --- php-pecl-imagick.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-imagick.spec') 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 - 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 - 3.5.1-2 - rebuild for 8.1.0RC1 -- cgit