diff --git a/rust.spec b/rust.spec index 4105579..33e81cf 100644 --- a/rust.spec +++ b/rust.spec @@ -37,7 +37,7 @@ %endif %global rust_triple %{_arch}-unknown-linux-%{abi} # to bootstrap, change to bcond_without -%bcond_without bootstrap +%bcond_with bootstrap Name: rust Version: 1.15.0 Release: 0 @@ -79,7 +79,7 @@ BuildRequires: rustc-bootstrap >= %{prev_version} %else %if %{without bootstrap} BuildRequires: cargo -BuildRequires: rust <= %{version} +BuildRequires: rust <= %{prev_version} BuildRequires: rust >= %{prev_version} %endif %endif