Directly add BR to cargo and rust, not rust-packaging

The latter is only meant for publishing crates. Since we're just
bundling some Rust code, we should just directly pull in `cargo` and
`rust`.
This commit is contained in:
Jonathan Lebon 2019-03-27 17:34:55 -04:00
parent d4c62747b8
commit 37913fcf40

View File

@ -17,7 +17,8 @@ URL: https://github.com/projectatomic/rpm-ostree
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: rust-packaging BuildRequires: cargo
BuildRequires: rust
%else %else
# assume el8 # assume el8
BuildRequires: rust-toolset BuildRequires: rust-toolset