diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-24 18:17:01 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-24 18:17:01 +0200 |
commit | 9a79eba0d6306abc759985f79220bd96f4df0ad2 (patch) | |
tree | 144d27e5c628eb8328b29acd7868a48b33801212 /php-pecl-mongodb.spec | |
parent | b9fcb2ae4ba3e185b3dd32d7ca7864a82d181a66 (diff) |
update to 1.20.0
Diffstat (limited to 'php-pecl-mongodb.spec')
-rw-r--r-- | php-pecl-mongodb.spec | 27 |
1 files changed, 16 insertions, 11 deletions
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 <remi@remirepo.net> - 1.20.0-1 +- update to 1.20.0 + * Mon Sep 9 2024 Remi Collet <remi@remirepo.net> - 1.19.4-1 - update to 1.19.4 |