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 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