use rust-packaging for BuildRequires

That way we don't need to pull any python/whatever stuff from rust itself.

Closes: https://pagure.io/fedora-rust/rust2rpm/issue/30
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-05-17 12:45:48 +02:00
parent 23b334286c
commit 8757161c11

View file

@ -46,8 +46,7 @@ Patch0: {{ patch_file }}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust BuildRequires: rust-packaging
BuildRequires: cargo
{% if include_build_requires %} {% if include_build_requires %}
{% if md.requires|length > 0 %} {% if md.requires|length > 0 %}
# [dependencies] # [dependencies]