summaryrefslogtreecommitdiffstats
path: root/php-pecl-datadog-trace.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-datadog-trace.spec')
-rw-r--r--php-pecl-datadog-trace.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index ebc8f4a..5e8153e 100644
--- a/php-pecl-datadog-trace.spec
+++ b/php-pecl-datadog-trace.spec
@@ -40,6 +40,8 @@ License: MIT
URL: http://pecl.php.net/package/%{proj_name}
Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz
+Patch0: https://github.com/DataDog/dd-trace-php/pull/412.patch
+
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -99,6 +101,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch0 -p1 -b .pr412
+
cp src/ext/mpack/LICENSE LICENSE.mpack
: Sanity check, really often broken
@@ -173,12 +177,12 @@ done
%check
%if "%{php_version}" < "7"
-rm ?TS/tests/ext/dd_trace_serialize_msgpack.phpt
-rm ?TS/tests/ext/dd_trace_serialize_msgpack_error.phpt
-rm ?TS/tests/ext/dd_trace_serialize_msgpack_error_strict.phpt
-%endif
+#rm ?TS/tests/ext/dd_trace_serialize_msgpack.phpt
+#rm ?TS/tests/ext/dd_trace_serialize_msgpack_error.phpt
+#rm ?TS/tests/ext/dd_trace_serialize_msgpack_error_strict.phpt
rm ?TS/tests/ext/segfault_backtrace_disabled_via_env_enabled_in_ini.phpt
rm ?TS/tests/ext/segfault_backtrace_disabled.phpt
+%endif
MOD="-n"
[ -f %{php_extdir}/json.so ] && MOD="$MOD -d extension=json.so"
@@ -248,6 +252,8 @@ fi
%changelog
* Fri Apr 26 2019 Remi Collet <remi@remirepo.net> - 0.20.0-1
- update to 0.20.0
+- add patch for test suite on 7.3 from
+ https://github.com/DataDog/dd-trace-php/pull/412
* Sun Apr 14 2019 Remi Collet <remi@remirepo.net> - 0.19.0-1
- update to 0.19.0