diff options
-rw-r--r-- | php-pecl-skywalking.spec | 5 |
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} |