From 0a571a6227733b53a3e15c17435dded561218edc Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 23 Jan 2024 13:20:55 -0500 Subject: [PATCH] Fix build with dnf5 dnf5 only handles file provides in /etc, /usr/bin, and /usr/sbin. --- gnu-efi.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu-efi.spec b/gnu-efi.spec index 54aa2d9..8082761 100644 --- a/gnu-efi.spec +++ b/gnu-efi.spec @@ -24,10 +24,9 @@ BuildRequires: git-core # BuildRequires: glibc-headers %ifarch x86_64 # So... in some build environments, glibc32 provides some headers. In -# others, glibc-devel.i686 does. They have no non-file provides in common. -#BuildRequires: glibc32 -#BuildRequires: glibc-devel(x86-32) -BuildRequires: /usr/include/gnu/stubs-32.h +# others, glibc-devel.i686 does. They have no provides in common, as +# file provides in /usr/include or /usr/lib are not usable with dnf5. +BuildRequires: (glibc-devel(x86-32) or glibc32) %endif BuildRequires: make