From f2eb510cdef6691d006e10db2a1a41052d9a9534 Mon Sep 17 00:00:00 2001 From: Sam Day Date: Thu, 26 Feb 2026 18:41:25 +1000 Subject: [PATCH 1/2] fix(packaging): build only fastboop-cli in COPR Limit BuildRequires and cargo build/test in the RPM spec to the CLI crate so COPR does not pull desktop/web dependencies. Signed-off-by: Sam Day Assisted-by: opencode:gpt-5.3-codex --- fastboop.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fastboop.spec b/fastboop.spec index 03242ede..6806ab26 100644 --- a/fastboop.spec +++ b/fastboop.spec @@ -30,11 +30,11 @@ flashing or permanently modifying the device. %else %cargo_prep %generate_buildrequires -%cargo_generate_buildrequires +%{__cargo_to_rpm} --path cli/Cargo.toml buildrequires %{?with_check:--with-check} %endif %build -%cargo_build +%cargo_build -- -p fastboop-cli %cargo_vendor_manifest %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies @@ -45,7 +45,7 @@ install -Dpm0755 target/rpm/fastboop-cli \ %if %{with check} %check -%cargo_test +%cargo_test -- -p fastboop-cli %endif %files From 2849835c6cce2bf398b1d50063a78b3d4bb22ffb Mon Sep 17 00:00:00 2001 From: Sam Day Date: Thu, 26 Feb 2026 18:51:41 +1000 Subject: [PATCH 2/2] fix(packit): use non-vendor mode for PR copr builds Signed-off-by: Sam Day Assisted-by: opencode:gpt-5.3-codex --- .packit.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 1045b560..d4221b61 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -13,9 +13,9 @@ jobs: enable_net: true targets: fedora-all-aarch64: - with_opts: [vendor] + without_opts: [vendor] fedora-all-x86_64: - with_opts: [vendor] + without_opts: [vendor] # Build main commits in samcday/fastboop-nightly COPR - job: copr_build