From bfa97762c00783e840c3580f2441ff986ed3ece3 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 28 Oct 2024 22:35:27 -0600 Subject: [PATCH] Bootstrap without %check --- rust-primal-check.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rust-primal-check.spec b/rust-primal-check.spec index acd02e7..08497bb 100644 --- a/rust-primal-check.spec +++ b/rust-primal-check.spec @@ -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