diff options
author | Remi Collet <remi@remirepo.net> | 2019-04-26 08:23:26 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-04-26 08:23:26 +0200 |
commit | 23f68ef095d25f13ab822ffaddff555ed6eca6e3 (patch) | |
tree | 91f2c4bc2a782e0b1b03ae69cc3d688176a43f1f /php-pecl-datadog-trace.spec | |
parent | 2ea708909f0e1fb714db985fac0d6f0d7323b04b (diff) |
add patch for test suite on 7.3 from https://github.com/DataDog/dd-trace-php/pull/412
Diffstat (limited to 'php-pecl-datadog-trace.spec')
-rw-r--r-- | php-pecl-datadog-trace.spec | 14 |
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 |