From c4e4c4be49cdba841b029c7b36301e5255910163 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 1 Feb 2024 15:19:32 -0500 Subject: [PATCH] Update Rust macro usage The rust-toolset macros in RHEL 10 are now compatible with Fedora's in terms of handling vendoring and automatic generation of license information and bundled provides. --- bootc.spec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bootc.spec b/bootc.spec index 2207e4b..921acae 100644 --- a/bootc.spec +++ b/bootc.spec @@ -43,19 +43,13 @@ Recommends: bootupd %prep %autosetup -p1 -a1 -%if 0%{?rhel} -%cargo_prep -V 1 -%else %cargo_prep -v vendor -%endif %build %cargo_build -%if !0%{?rhel} %cargo_vendor_manifest %cargo_license_summary %{cargo_license} > LICENSE.dependencies -%endif %install %make_install INSTALL="install -p -c" @@ -68,10 +62,8 @@ Recommends: bootupd %files %license LICENSE-MIT %license LICENSE-APACHE -%if !0%{?rhel} %license LICENSE.dependencies %license cargo-vendor.txt -%endif %doc README.md %{_bindir}/bootc %{_prefix}/lib/bootc/