From 59da31bc2824ce5613f83a5daf4c418ca1df9c1e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Jun 2022 17:25:21 +0200 Subject: add upstream patch for PHP 8.2 --- php-pecl-memcached.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-memcached.spec') diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec index d4a7425..f85a10d 100644 --- a/php-pecl-memcached.spec +++ b/php-pecl-memcached.spec @@ -40,12 +40,15 @@ Summary: Extension to work with the Memcached caching daemon Name: %{?sub_prefix}php-pecl-memcached Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} -Release: 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;')}} License: PHP URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +# upstream patch for PHP 8.2 +Patch0: %{pecl_name}-upstream.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear @@ -163,6 +166,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 + %if %{with fastlz} rm -r fastlz sed -e '/name=.fastlz/d' -i ../package.xml @@ -372,6 +377,9 @@ exit $ret %changelog +* Fri Jun 3 2022 Remi Collet - 3.2.0-2 +- add upstream patch for PHP 8.2 + * Thu Mar 24 2022 Remi Collet - 3.2.0-1 - update to 3.2.0 -- cgit