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.spec20
1 files changed, 5 insertions, 15 deletions
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index 6b1ed39..ff14be9 100644
--- a/php-pecl-datadog-trace.spec
+++ b/php-pecl-datadog-trace.spec
@@ -26,7 +26,7 @@
Summary: APM and distributed tracing for PHP
Name: %{?sub_prefix}php-pecl-datadog-trace
-Version: 0.51.0
+Version: 0.52.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# extension is dual-licensed under Apache 2.0 or BSD3.
# mpack is MIT
@@ -37,19 +37,12 @@ Source0: https://pecl.php.net/get/%{proj_name}-%{version}.tgz
# ddtrace only supports 64-bit platforms
ExcludeArch: %{ix86} %{arm}
-%if 0%{?rhel} == 6 || 0%{?rhel} == 7
-%if 0%{?dtsversion} == 0
+%if 0%{?rhel} == 7 && 0%{?dtsversion} == 0
BuildRequires: devtoolset-6-toolchain
%global dtsversion 6
-%if 0%{?rhel} == 6
-BuildRequires: autoconf268
-%global dtsenable export PHP_AUTOCONF=autoconf268; export PHP_AUTOHEADER=autoheader268; source /opt/rh/devtoolset-6/enable
-%else
%global dtsenable source /opt/rh/devtoolset-6/enable
-%endif
%global dtsprefix devtoolset-6-
%endif
-%endif
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 5.4
BuildRequires: %{?scl_prefix}php-pear
@@ -88,12 +81,6 @@ Obsoletes: php80-pecl-%{safe_name} <= %{version}
%endif
%endif
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter shared private
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
%description
The Datadog PHP Tracer brings APM and distributed tracing to PHP.
@@ -265,6 +252,9 @@ fi
%changelog
+* Tue Dec 1 2020 Remi Collet <remi@remirepo.net> - 0.52.0-1
+- update to 0.52.0
+
* Wed Nov 18 2020 Remi Collet <remi@remirepo.net> - 0.51.0-1
- update to 0.51.0