summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-couchbase3.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-pecl-couchbase3.spec b/php-pecl-couchbase3.spec
index c3cbf6b..5863945 100644
--- a/php-pecl-couchbase3.spec
+++ b/php-pecl-couchbase3.spec
@@ -28,6 +28,7 @@ License: PHP
URL: https://pecl.php.net/package/couchbase
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+BuildRequires: make
BuildRequires: gcc
BuildRequires: php-devel >= 7.2
BuildRequires: php-pear
@@ -92,6 +93,7 @@ extension=%{pecl_name}.so
;couchbase.encoder.compression_factor = 0.0
;couchbase.decoder.json_arrays = 0
;couchbase.pool.max_idle_time_sec = 60
+;couchbase.allow_fallback_to_bucket_connection = 0
EOF
%if 0%{?__ztsphp:1}
@@ -149,7 +151,7 @@ done
-d extension=tokenizer.so \
-d extension=json.so \
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- -m | grep %{pecl_name}
+ -m | grep '^%{pecl_name}$'
%if %{with_zts}
: minimal ZTS load test
@@ -157,7 +159,7 @@ done
-d extension=tokenizer.so \
-d extension=json.so \
-d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- -m | grep %{pecl_name}
+ -m | grep '^%{pecl_name}$'
%endif