summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcached.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-06-03 17:25:21 +0200
committerRemi Collet <remi@php.net>2022-06-03 17:25:21 +0200
commit59da31bc2824ce5613f83a5daf4c418ca1df9c1e (patch)
treec2e5c69715caa180e51ae1426bc74be7cffbff3f /php-pecl-memcached.spec
parented7aaeae81936032c995aecc481a05e8db2eea69 (diff)
add upstream patch for PHP 8.2HEADmaster
Diffstat (limited to 'php-pecl-memcached.spec')
-rw-r--r--php-pecl-memcached.spec10
1 files changed, 9 insertions, 1 deletions
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 <remi@remirepo.net> - 3.2.0-2
+- add upstream patch for PHP 8.2
+
* Thu Mar 24 2022 Remi Collet <remi@remirepo.net> - 3.2.0-1
- update to 3.2.0