From 36e5f67d00e2a1729570cee4e22846c3424154fd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Oct 2024 09:53:03 +0200 Subject: update to 1.4.0 --- php-pecl-datadog-trace.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'php-pecl-datadog-trace.spec') diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec index 89215eb..d1e92a5 100644 --- a/php-pecl-datadog-trace.spec +++ b/php-pecl-datadog-trace.spec @@ -30,7 +30,7 @@ # extension name %global pecl_name ddtrace -%global upstream_version 1.3.2 +%global upstream_version 1.4.0 #global upstream_prever beta1 %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini @@ -167,11 +167,15 @@ source /opt/%{scl_vendor}/%{scl}/enable cd %{sources} %{__phpize} +[ -f Makefile.global ] && GLOBAL=Makefile.global || GLOBAL=build/Makefile.global +sed -e 's/INSTALL_ROOT/DESTDIR/' -i $GLOBAL cd ../NTS %configure \ --enable-ddtrace \ --with-php-config=%{__phpconfig} + +# make_build breaks verbose mode for rust, so keep old way make %{?_smp_mflags} %if %{with_zts} @@ -179,6 +183,7 @@ cd ../ZTS %configure \ --enable-ddtrace \ --with-php-config=%{__ztsphpconfig} + make %{?_smp_mflags} %endif @@ -186,7 +191,7 @@ make %{?_smp_mflags} %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} @@ -195,7 +200,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 @@ -275,6 +280,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Oct 9 2024 Remi Collet - 1.4.0-1 +- update to 1.4.0 + * Fri Sep 27 2024 Remi Collet - 1.3.2-1 - update to 1.3.2 -- cgit