Minor bundled crate conditional cleanup

This commit is contained in:
Kalev Lember 2024-02-07 10:42:09 +01:00
parent ae68aaa5cc
commit 7f11c8d3bf

View File

@ -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} %if 0%{?rhel}
%global bundled_rust_deps 1 %global bundled_rust_deps 1
%else %else
@ -30,10 +28,10 @@ BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: /usr/bin/appstream-util BuildRequires: /usr/bin/appstream-util
BuildRequires: /usr/bin/desktop-file-validate BuildRequires: /usr/bin/desktop-file-validate
%if 0%{?bundled_rust_deps} %if 0%{?rhel}
BuildRequires: rust-toolset BuildRequires: rust-toolset
%else %else
BuildRequires: rust-packaging BuildRequires: cargo-rpm-macros
%endif %endif
%description %description