From 9a79eba0d6306abc759985f79220bd96f4df0ad2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 24 Sep 2024 18:17:01 +0200 Subject: update to 1.20.0 --- php-pecl-mongodb.spec | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'php-pecl-mongodb.spec') diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index c54d222..e4cf84f 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -22,23 +22,23 @@ %bcond_with tests # temp for EL until available in EPEL -%if 0%{?fedora} >= 37 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 37 || 0%{?rhel} >= 99 %bcond_without syslib %else %bcond_with syslib %endif # Bundled versions -%global bundled_libmongo 1.27.6 -%global bundled_libcrypt 1.10.1 +%global bundled_libmongo 1.28.0 +%global bundled_libcrypt 1.11.0 # Required versions -%global minimal_libmongo 1.27.6 -%global minimal_libcrypt 1.10.1 +%global minimal_libmongo 1.28.0 +%global minimal_libcrypt 1.11.0 %if %{with syslib} # Build dependencies -%global system_libmongo 1.27.5 -%global system_libcrypt 1.10.1 +%global system_libmongo 1.28.0 +%global system_libcrypt 1.11.0 # Runtime dependencies %global runtime_libmongo %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{system_libmongo}) %global runtime_libcrypt %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{system_libcrypt}) @@ -46,7 +46,7 @@ Summary: MongoDB driver for PHP Name: %{?scl_prefix}php-pecl-%{pecl_name} -%global upstream_version 1.19.4 +%global upstream_version 1.20.0 #global upstream_prever beta1 #global upstream_lower ~beta1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -180,11 +180,13 @@ peclbuild() { --with-mongodb-client-side-encryption \ --enable-mongodb - make %{?_smp_mflags} + %make_build } cd %{sources} %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global + %if %{with syslib} # Ensure we use system library # Need to be removed only after phpize because of m4_include @@ -203,7 +205,7 @@ peclbuild %{__ztsphpconfig} %install %{?dtsenable} -make -C NTS install INSTALL_ROOT=%{buildroot} +%make_install -C NTS # install config file install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -212,7 +214,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %if %{with_zts} -make -C ZTS install INSTALL_ROOT=%{buildroot} +%make_install -C ZTS install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif @@ -304,6 +306,9 @@ exit $ret %changelog +* Tue Sep 24 2024 Remi Collet - 1.20.0-1 +- update to 1.20.0 + * Mon Sep 9 2024 Remi Collet - 1.19.4-1 - update to 1.19.4 -- cgit