summaryrefslogtreecommitdiffstats
path: root/php-pecl-couchbase2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-22 15:28:52 +0200
committerRemi Collet <remi@remirepo.net>2018-06-22 15:28:52 +0200
commitc0f5788314a8f37a0883da7d3e1d691bed832665 (patch)
tree925e54c30657623e83cfa516292ad6ff064162df /php-pecl-couchbase2.spec
parent24907feb87a8bdf1a9811a16be1f9b5049fb1126 (diff)
add patch for PHP 7.3 from https://github.com/couchbase/php-couchbase/pull/22
Diffstat (limited to 'php-pecl-couchbase2.spec')
-rw-r--r--php-pecl-couchbase2.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-couchbase2.spec b/php-pecl-couchbase2.spec
index 3966d3b..f961906 100644
--- a/php-pecl-couchbase2.spec
+++ b/php-pecl-couchbase2.spec
@@ -26,11 +26,13 @@
Summary: Couchbase Server PHP extension
Name: %{?sub_prefix}php-pecl-couchbase2
Version: 2.4.7
-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: http://pecl.php.net/package/couchbase
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Patch0: https://patch-diff.githubusercontent.com/raw/couchbase/php-couchbase/pull/22.patch
+
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 5.6
BuildRequires: %{?scl_prefix}php-pear
@@ -108,6 +110,8 @@ mv %{pecl_name}-%{version}%{?prever} NTS
%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
cd NTS
+%patch0 -p1 -b .pr22
+
# Drop bundled library
sed -e '/fastlz/d' -i ../package.xml
rm -r fastlz
@@ -242,6 +246,10 @@ fi
%changelog
+* Fri Jun 22 2018 Remi Collet <remi@remirepo.net> - 2.4.7-2
+- add patch for PHP 7.3 from
+ https://github.com/couchbase/php-couchbase/pull/22
+
* Fri Jun 8 2018 Remi Collet <remi@remirepo.net> - 2.4.7-1
- update to 2.4.7
- raise dependency on libcouchbase 2.9.0