summaryrefslogtreecommitdiffstats
path: root/php-pecl-skywalking.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-10-14 16:15:32 +0200
committerRemi Collet <remi@php.net>2022-10-14 16:15:32 +0200
commit8bfddad379514ee9de87fcb10b2abfba74e882ea (patch)
treea8e6be2a01c6c7e382926674dafe88b4d41984a2 /php-pecl-skywalking.spec
parent7df56eb394fe565f8c1f29acc378a14592cc4887 (diff)
update required rust versionHEADmaster
Diffstat (limited to 'php-pecl-skywalking.spec')
-rw-r--r--php-pecl-skywalking.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-pecl-skywalking.spec b/php-pecl-skywalking.spec
index 4344f27..93e2286 100644
--- a/php-pecl-skywalking.spec
+++ b/php-pecl-skywalking.spec
@@ -43,7 +43,7 @@ BuildRequires: %{?scl_prefix}php-curl
BuildRequires: %{?scl_prefix}php-json
BuildRequires: %{?scl_prefix}php-pcre
BuildRequires: libcurl-devel
-BuildRequires: cargo
+BuildRequires: cargo >= 1.52
BuildRequires: rustfmt
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 9
BuildRequires: rust-packaging
@@ -161,6 +161,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}