summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-10-14 16:15:25 +0200
committerRemi Collet <remi@php.net>2022-10-14 16:15:25 +0200
commit8c8bf315198fcb3a3e921aa6c98599f6eb2fc011 (patch)
treea1efd03ce70bafd1f44493c8d2f0698cf08a5f42
parent20e8529e726e5ddaf497e69536b7b275c6d36f42 (diff)
update required rust version
-rw-r--r--php-pecl-skywalking-agent.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-pecl-skywalking-agent.spec b/php-pecl-skywalking-agent.spec
index e9d0a86..946b9be 100644
--- a/php-pecl-skywalking-agent.spec
+++ b/php-pecl-skywalking-agent.spec
@@ -52,7 +52,7 @@ BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
BuildRequires: %{?scl_prefix}php-devel >= 7.1
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: cargo
+BuildRequires: cargo >= 1.60
BuildRequires: rustfmt
BuildRequires: protobuf-compiler
BuildRequires: clang-devel
@@ -138,6 +138,9 @@ extension=%{pecl_name}.so
EOF
+: Required rust version
+grep -h rust-version mycargo/*/Cargo.toml NTS/Cargo.toml | sort -u | tail -n 4
+
%build
%{?dtsenable}