Minor bundled crate conditional cleanup
This commit is contained in:
parent
ae68aaa5cc
commit
7f11c8d3bf
@ -1,5 +1,3 @@
|
||||
# Use bundled deps as we don't ship the exact right versions for all the
|
||||
# required rust libraries
|
||||
%if 0%{?rhel}
|
||||
%global bundled_rust_deps 1
|
||||
%else
|
||||
@ -30,10 +28,10 @@ BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
BuildRequires: /usr/bin/desktop-file-validate
|
||||
|
||||
%if 0%{?bundled_rust_deps}
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: rust-toolset
|
||||
%else
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: cargo-rpm-macros
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user