diff --git a/anda/tools/sbctl/sbctl.spec b/anda/tools/sbctl/sbctl.spec index 79c89b169c..5a8cecae40 100644 --- a/anda/tools/sbctl/sbctl.spec +++ b/anda/tools/sbctl/sbctl.spec @@ -7,6 +7,10 @@ License: MIT URL: https://github.com/Foxboron/sbctl Source0: https://github.com/Foxboron/sbctl/releases/download/%{version}/sbctl-%{version}.tar.gz +# Fixes https://github.com/Foxboron/sbctl/issues/293, allowing kernel-install to work properly with Fedora +Patch1: https://patch-diff.githubusercontent.com/raw/Foxboron/sbctl/pull/294.patch + + ExclusiveArch: %{golang_arches} Requires: binutils @@ -25,7 +29,8 @@ needs to be signed in the boot chain. %prep -%setup -q +%autosetup -p1 + sed -i '/go build/d' Makefile