From ecb304a65f053661664e8b3f0604b83149351963 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Aug 2025 09:51:15 +0200 Subject: fix for PHP 8.5.0alpha3 using patch from https://github.com/Imagick/imagick/pull/741 --- 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 018c7b9..656dfe1 100644 --- a/php-pecl-imagick.spec +++ b/php-pecl-imagick.spec @@ -51,11 +51,13 @@ Summary: Extension to create and modify images using ImageMagick 7 Name: %{?scl_prefix}php-pecl-imagick-im7 %endif Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1.1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?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 License: PHP-3.01 URL: https://pecl.php.net/package/imagick +Patch0: 741.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -161,6 +163,8 @@ then : "Font files detected!" fi cd %{sources} +%patch -P0 -p1 -b .pr741 + : Avoid arginfo to be regenerated rm *.stub.php @@ -343,6 +347,10 @@ exit $ret %changelog +* Wed Jul 30 2025 Remi Collet - 3.8.0-2 +- fix for PHP 8.5.0alpha3 using patch from + https://github.com/Imagick/imagick/pull/741 + * Tue Jul 15 2025 Remi Collet - 3.8.0-1.1 - ignore 1 test failing with IM 7.1.2 reported as https://github.com/Imagick/imagick/issues/737 -- cgit