From 37913fcf4086c9a9aef6a7c315cc3dff159a18f2 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 27 Mar 2019 17:34:55 -0400 Subject: [PATCH] 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`. --- rpm-ostree.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm-ostree.spec b/rpm-ostree.spec index 8a1327b..9cf28a5 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -17,7 +17,8 @@ URL: https://github.com/projectatomic/rpm-ostree ExclusiveArch: %{rust_arches} %if 0%{?fedora} -BuildRequires: rust-packaging +BuildRequires: cargo +BuildRequires: rust %else # assume el8 BuildRequires: rust-toolset