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.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 31cae7a..5bbdc7b 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -34,8 +34,8 @@
%else
%global ini_name 40-%{pecl_name}.ini
%endif
-%global upstream_version 3.5.0
-#global upstream_prever RC2
+%global upstream_version 3.5.1
+%global upstream_prever RC1
%if %{with im7}
Summary: Extension to create and modify images using ImageMagick 7
@@ -49,12 +49,14 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 0.9.%{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: 1%{?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: %{pecl_name}-php81.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 .pr450
+
: Fix permission for archive generated on Windows
find . -type f -exec chmod -x {} \;
@@ -361,6 +365,11 @@ cd ../ZTS
%changelog
+* Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 3.5.1~RC1-1
+- update to 3.5.1RC1
+- add patch for PHP 8.1.0beta1 from
+ https://github.com/Imagick/imagick/pull/450
+
* Thu Jun 24 2021 Remi Collet <remi@remirepo.net> - 3.5.0-2
- add REFLECTION in package documentation