diff --git a/rust.spec b/rust.spec index 62bf216..35b1b08 100644 --- a/rust.spec +++ b/rust.spec @@ -73,12 +73,14 @@ BuildRequires: rustc-bootstrap == %{prev_version} %ifarch %{arm} aarch64 ppc64 ppc64le BuildRequires: cargo-bootstrap BuildRequires: rustc-bootstrap == %{prev_version} - %elif 0%{?leap_version} == 420200 + %else + %if 0%{?leap_version} == 420200 BuildRequires: cargo-bootstrap BuildRequires: rustc-bootstrap == %{prev_version} - %else + %else BuildRequires: cargo BuildRequires: rust == %{prev_version} + %endif %endif %endif