Use rust-toolset in RHEL builds
RHEL provides a minimal set of macros compared to Fedora.
This commit is contained in:
parent
7cd1dead01
commit
40294de062
@ -34,8 +34,12 @@ Provides: container-network-stack = 2
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: protobuf-c
|
BuildRequires: protobuf-c
|
||||||
BuildRequires: protobuf-compiler
|
BuildRequires: protobuf-compiler
|
||||||
|
%if %{defined rhel}
|
||||||
|
BuildRequires: rust-toolset
|
||||||
|
%else
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
BuildRequires: rust-srpm-macros
|
BuildRequires: rust-srpm-macros
|
||||||
|
%endif
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user