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.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/php-pecl-datadog-trace.spec b/php-pecl-datadog-trace.spec
index 7497bf7..15c9b87 100644
--- a/php-pecl-datadog-trace.spec
+++ b/php-pecl-datadog-trace.spec
@@ -58,8 +58,8 @@ Source2: %{proj_name}-deps-%{upstream_version}%{?upstream_prever}.tgz
ExcludeArch: %{ix86} %{arm}
BuildRequires: make
-BuildRequires: cargo >= 1.70
-BuildRequires: rust >= 1.70
+BuildRequires: cargo >= 1.76
+BuildRequires: rust >= 1.76
BuildRequires: %{?dtsprefix}gcc
BuildRequires: (%{?scl_prefix}php-devel >= 7.0 with %{?scl_prefix}php-devel < 8.4)
BuildRequires: %{?scl_prefix}php-pear
@@ -141,7 +141,7 @@ directory = "$PWD/mycargo"
EOF
: Required rust version
-grep -h rust-version mycargo/*/Cargo.toml | sort -u | tail -n 8
+grep -h rust-version mycargo/*/Cargo.toml %{sources}/*/Cargo.toml %{sources}/Cargo.toml | sort -u | tail -n 8
mkdir NTS
%if %{with_zts}
@@ -282,6 +282,7 @@ REPORT_EXIT_STATUS=1 \
%changelog
* Wed Oct 9 2024 Remi Collet <remi@remirepo.net> - 1.4.0-1
- update to 1.4.0
+- raise dependency on rust 1.76
- open https://github.com/DataDog/dd-trace-php/issues/2882
broken build with rust 1.75 (EL-8 and EL-9)