diff --git a/SOURCES/0001-MSVSphere-fix-build.patch b/SOURCES/0001-MSVSphere-fix-build.patch new file mode 100644 index 0000000..630b388 --- /dev/null +++ b/SOURCES/0001-MSVSphere-fix-build.patch @@ -0,0 +1,25 @@ +From 1c5ffb1458afcb2b9ce12f5767a7f02a64272392 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Thu, 7 Dec 2023 15:33:18 +0300 +Subject: [PATCH] MSVSphere fix build + +--- + linux/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/linux/Makefile b/linux/Makefile +index 3c5f490..82f706a 100644 +--- a/linux/Makefile ++++ b/linux/Makefile +@@ -33,7 +33,7 @@ ifeq ($(HAVE_LIBSMBIOS),yes) + endif + BUILDFLAGS := $(CFLAGS) -Wall -Wextra -Werror -Wno-error=cpp \ + -Wno-unused-result -Wno-unused-function \ +- -Wsign-compare -Werror=sign-compare \ ++ -Wno-error=pointer-sign -Wsign-compare -Werror=sign-compare \ + -fshort-wchar --std=gnu11 \ + -DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE \ + -DFWUP_EFI_DIR_NAME=\"$(EFIDIR)\" \ +-- +2.39.3 + diff --git a/SPECS/fwupdate.spec b/SPECS/fwupdate.spec index d5f5df8..a849ec7 100644 --- a/SPECS/fwupdate.spec +++ b/SPECS/fwupdate.spec @@ -5,7 +5,7 @@ Name: fwupdate Version: 11 -Release: 3%{?dist} +Release: 3%{?dist}.inferit Summary: Tools to manage UEFI firmware updates License: GPLv2+ URL: https://github.com/rhinstaller/fwupdate @@ -27,6 +27,8 @@ Source2: securebootca.cer Source3: secureboot.cer Patch0001: Fix-dependency-chain-for-a-parallel-make-issue.patch +# MSVSphere +Patch1000: 0001-MSVSphere-fix-build.patch %global __os_install_post %{expand:\ %{?__debug_package:%{__debug_install_post}} \ @@ -201,7 +203,8 @@ make abicheck %defattr(-,root,root) %changelog -* Tue Jul 25 2023 MSVSphere Packaging Team - 11-3 +* Thu Dec 07 2023 Sergey Cherevko - 11-3.inferit +- Fixed build - Rebuilt for MSVSphere 8.8 * Thu Feb 21 2019 Javier Martinez Canillas 11-3