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.
This commit is contained in:
parent
9c43f986d3
commit
1f289f2410
@ -31,13 +31,13 @@ ExclusiveArch: %{rust_arches}
|
|||||||
%if %{defined rusttoolset_version}
|
%if %{defined rusttoolset_version}
|
||||||
BuildRequires: %{rusttoolset_version}-cargo
|
BuildRequires: %{rusttoolset_version}-cargo
|
||||||
%else
|
%else
|
||||||
%endif # defined rusttoolset_version
|
|
||||||
# This one is only in Fedora, we're not actually using it right now
|
# This one is only in Fedora, we're not actually using it right now
|
||||||
# but we may in the future.
|
# but we may in the future.
|
||||||
%if 0%{?fedora} >= 28
|
%if 0%{?fedora} >= 28
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cargo
|
BuildRequires: cargo
|
||||||
|
%endif # defined rusttoolset_version
|
||||||
%endif # with_rust
|
%endif # with_rust
|
||||||
# For the autofiles bits below
|
# For the autofiles bits below
|
||||||
BuildRequires: /usr/bin/python3
|
BuildRequires: /usr/bin/python3
|
||||||
|
Loading…
Reference in New Issue
Block a user