From 1f289f2410d7b49abdbf6eeaf2589c3df9b642e0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 27 Aug 2018 10:20:23 -0400 Subject: [PATCH] spec: Require just toolset on el>7 This was the cause of the stray `%else\n%endif` - there's only `BuildRequires: rust-toolset-1.26` there right now. --- rpm-ostree.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm-ostree.spec b/rpm-ostree.spec index 285123f..8e014ea 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -31,13 +31,13 @@ ExclusiveArch: %{rust_arches} %if %{defined rusttoolset_version} BuildRequires: %{rusttoolset_version}-cargo %else -%endif # defined rusttoolset_version # This one is only in Fedora, we're not actually using it right now # but we may in the future. %if 0%{?fedora} >= 28 BuildRequires: rust-packaging %endif BuildRequires: cargo +%endif # defined rusttoolset_version %endif # with_rust # For the autofiles bits below BuildRequires: /usr/bin/python3