summaryrefslogtreecommitdiffstats
path: root/php-pecl-couchbase4.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-23 12:51:29 +0200
committerRemi Collet <remi@php.net>2024-10-23 12:51:29 +0200
commit13a9e2f34d0c6e89404d22aba82e6d4763b0e84d (patch)
tree805e100a8ea85f3ca7f97d8b50a79b313bf5f523 /php-pecl-couchbase4.spec
parent4e3bf52cb9f1f640d7be5ea0b5b2486a4bb51f4a (diff)
update to 4.2.4
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