From d95e60eefa20f21d92271ae60857b724dc6eba5ad3064c0951a276e2a4956d31 Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Mon, 13 Feb 2017 04:13:22 +0000 Subject: [PATCH] Fix incorrect conditional tag OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=61 --- rust.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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