From 52e6007f62de0dcbf9f20ecafc4e818620fe6093 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Feb 2024 09:47:27 +0100 Subject: add upstream patch for test suite with recent IM versions --- php-pecl-imagick.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'php-pecl-imagick.spec') diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec index e0773cf..8302f5d 100644 --- a/php-pecl-imagick.spec +++ b/php-pecl-imagick.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-imagick # -# Copyright (c) 2008-2023 Remi Collet +# Copyright (c) 2008-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -64,12 +64,14 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 0.11.%{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: 9.10%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 10%{?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-3.01 URL: https://pecl.php.net/package/imagick +Patch0: %{pecl_name}-tests.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -208,6 +210,8 @@ then : "Font files detected!" fi cd %{sources} +%patch -P0 -p1 + : Avoid arginfo to be regenerated rm *.stub.php @@ -332,8 +336,6 @@ rm tests/244_Tutorial_psychedelicFontGif_basic.phpt # very long, and erratic results, sometime segfault on shutdown (EL-7/8) rm tests/073_Imagick_forwardFourierTransformImage_basic.phpt rm tests/086_Imagick_forwardFourierTransformImage_basic.phpt -# https://github.com/Imagick/imagick/issues/645 -rm tests/316_Imagick_getImageKurtosis.phpt : simple module load test for NTS extension %{__php} --no-php-ini \ @@ -385,6 +387,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ %changelog +* Mon Feb 12 2024 Remi Collet - 3.7.0-10 +- add upstream patch for test suite with recent IM versions + * Wed Aug 30 2023 Remi Collet - 3.7.0-9 - rebuild for PHP 8.3.0RC1 -- cgit