From 13a9e2f34d0c6e89404d22aba82e6d4763b0e84d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Oct 2024 12:51:29 +0200 Subject: update to 4.2.4 --- php-pecl-couchbase4.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'php-pecl-couchbase4.spec') 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 - 4.2.4-1 +- update to 4.2.4 + * Wed Aug 28 2024 Remi Collet - 4.2.3-1 - update to 4.2.3 -- cgit