summaryrefslogtreecommitdiffstats
path: root/php-pecl-couchbase3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-couchbase3.spec')
-rw-r--r--php-pecl-couchbase3.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-pecl-couchbase3.spec b/php-pecl-couchbase3.spec
index 381a2fe..8ccb59e 100644
--- a/php-pecl-couchbase3.spec
+++ b/php-pecl-couchbase3.spec
@@ -26,12 +26,13 @@
Summary: Couchbase Server PHP extension
Name: %{?sub_prefix}php-pecl-couchbase3
Version: 3.1.2
-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/couchbase
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
Patch0: https://patch-diff.githubusercontent.com/raw/couchbase/php-couchbase/pull/32.patch
+Patch1: https://patch-diff.githubusercontent.com/raw/couchbase/php-couchbase/pull/33.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -85,6 +86,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "8.0"
Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "8.1"
+Obsoletes: php81-pecl-%{pecl_name} <= %{version}
+%endif
%endif
@@ -107,6 +111,7 @@ mv %{pecl_name}-%{version}%{?prever} NTS
cd NTS
%patch0 -p1 -b .pr32
+%patch1 -p1 -b .pr33
# Drop bundled library
sed -e '/fastlz/d' -i ../package.xml
@@ -241,6 +246,10 @@ fi
%changelog
+* Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 3.1.2-2
+- add patch for PHP 8.1.0beta1 from
+ https://github.com/couchbase/php-couchbase/pull/33
+
* Fri May 14 2021 Remi Collet <remi@remirepo.net> - 3.1.2-1
- update to 3.1.2