Bootstrap without %check

epel10 imports/epel10/rust-primal-check-0.3.4-3.el10
Orion Poplawski 3 months ago
parent d4d7ee80a8
commit bfa97762c0

@ -1,5 +1,5 @@
# Generated by rust2rpm 26
%bcond_without check
%bcond_with check
%global debug_package %{nil}
%global crate primal-check
@ -61,6 +61,9 @@ use the "unstable" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%if %{without check}
sed -i -e '/dev-dependencies.primal/{N;d;}' Cargo.toml
%endif
%generate_buildrequires
%cargo_generate_buildrequires

Loading…
Cancel
Save