From 626a3fccc7e241ca51bb306a249e548f0c950712 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 22 Jan 2019 18:09:23 +0100 Subject: minor --- php-pecl-datadog-trace.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec index 7b757b1..530e374 100644 --- a/php-pecl-datadog-trace.spec +++ b/php-pecl-datadog-trace.spec @@ -20,7 +20,11 @@ # extension name %global pecl_name ddtrace +%if "%{php_version}" > "5.6" %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%else +%global with_zts 0 +%endif %global with_tests 0%{!?_without_tests:1} %if "%{php_version}" < "5.6" %global ini_name %{pecl_name}.ini @@ -39,7 +43,7 @@ Source1: https://raw.githubusercontent.com/DataDog/dd-trace-php/038957d28 Source2: https://raw.githubusercontent.com/DataDog/dd-trace-php/038957d286d6c9b65dd98d1c9a7893b66839bc98/src/ext/request_hooks.c BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel > 5.6 +BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -232,6 +236,7 @@ fi - update to 0.10.0 - open https://github.com/DataDog/dd-trace-php/issues/249 missing files - open https://github.com/DataDog/dd-trace-php/issues/250 PHP compat +- open https://github.com/DataDog/dd-trace-php/issues/253 PHP 5.4 ZTS * Sat Jan 12 2019 Remi Collet - 0.9.1-1 - update to 0.9.1 -- cgit