summaryrefslogtreecommitdiffstats
path: root/php-pecl-couchbase4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-couchbase4.spec')
-rw-r--r--php-pecl-couchbase4.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-pecl-couchbase4.spec b/php-pecl-couchbase4.spec
index 35bd3dd..16cda4b 100644
--- a/php-pecl-couchbase4.spec
+++ b/php-pecl-couchbase4.spec
@@ -9,9 +9,9 @@
# NOTICE: mock requires --enable-network
-# Disable RPATH check
-%global __arch_install_post /bin/true
-%global __brp_check_rpaths /bin/true
+# Disable RPATH check (no more needed)
+#global __arch_install_post /bin/true
+#global __brp_check_rpaths /bin/true
%{?scl:%scl_package php-pecl-couchbase4}
@@ -26,7 +26,7 @@
Summary: Couchbase Server PHP extension
Name: %{?scl_prefix}php-pecl-couchbase4
-Version: 4.2.3
+Version: 4.2.4
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Apache-2.0
# src
@@ -167,6 +167,8 @@ mkdir ZTS
cd %{sources}
%{__phpize}
+# fix for make_install, notice make_build is broken
+sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
cd ../NTS
%configure --with-php-config=%{__phpconfig}
@@ -183,12 +185,12 @@ make %{?_smp_mflags}
%{?dtsenable}
# Install the NTS stuff
-make install -C NTS INSTALL_ROOT=%{buildroot}
+%make_install -C NTS
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
# Install the ZTS stuff
%if %{with_zts}
-make install -C ZTS INSTALL_ROOT=%{buildroot}
+%make_install -C ZTS
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -228,6 +230,9 @@ install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
%changelog
+* Wed Oct 23 2024 Remi Collet <remi@remirepo.net> - 4.2.4-1
+- update to 4.2.4
+
* Wed Aug 28 2024 Remi Collet <remi@remirepo.net> - 4.2.3-1
- update to 4.2.3