summaryrefslogtreecommitdiffstats
path: root/php-pecl-couchbase4.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-05-27 07:27:10 +0200
committerRemi Collet <remi@php.net>2023-05-27 07:27:10 +0200
commit07a67bde3e62aa58eb137358b3d5f385c4d4d044 (patch)
treee0ae82f3214e5222d4c89376ce5f745d7959d9a7 /php-pecl-couchbase4.spec
parented3165602fd2f4cc338828206bd9d8035c64e486 (diff)
update to 4.1.4
Diffstat (limited to 'php-pecl-couchbase4.spec')
-rw-r--r--php-pecl-couchbase4.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/php-pecl-couchbase4.spec b/php-pecl-couchbase4.spec
index e159b46..d6190c9 100644
--- a/php-pecl-couchbase4.spec
+++ b/php-pecl-couchbase4.spec
@@ -28,7 +28,7 @@
Summary: Couchbase Server PHP extension
Name: %{?scl_prefix}php-pecl-couchbase4
-Version: 4.1.3
+Version: 4.1.4
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Apache-2.0
# src
@@ -139,6 +139,9 @@ sed -e 's:/cmake-build:/../cmake-build:' -i config.m4
: Parallel build
sed -e 's/--verbose/%{?_smp_mflags} --verbose/' -i Makefile.frag
+: Change option to avoid download
+sed -e '/Download/s/TRUE/FALSE/' -i src/deps/couchbase-cxx-client/cmake/OpenSSL.cmake
+
: Sanity check as really often broken
extver=$(sed -n '/#define PHP_COUCHBASE_VERSION/{s/.* "//;s/".*$//;p}' src/php_couchbase.hxx)
if test "x${extver}" != "x%{version}%{?prever}"; then
@@ -173,15 +176,15 @@ mkdir ZTS
%{?dtsenable}
cd %{pecl_name}-%{version}%{?prever}
-%{_bindir}/phpize
+%{__phpize}
cd ../NTS
-%configure --with-php-config=%{_bindir}/php-config
+%configure --with-php-config=%{__phpconfig}
make %{?_smp_mflags}
%if %{with_zts}
cd ../ZTS
-%configure --with-php-config=%{_bindir}/zts-php-config
+%configure --with-php-config=%{__ztsphpconfig}
make %{?_smp_mflags}
%endif
@@ -242,8 +245,10 @@ done
%endif
-
%changelog
+* Fri May 26 2023 Remi Collet <remi@remirepo.net> - 4.1.4-1
+- update to 4.1.4
+
* Thu Apr 13 2023 Remi Collet <remi@remirepo.net> - 4.1.3-1
- update to 4.1.3