diff --git a/efivar-37-sw.patch b/efivar-37-sw.patch new file mode 100755 index 0000000..4da2dd2 --- /dev/null +++ b/efivar-37-sw.patch @@ -0,0 +1,11 @@ +diff -Naur efivar-37.org/Make.defaults efivar-37.sw/Make.defaults +--- efivar-37.org/Make.defaults 2022-02-27 04:16:18.440000000 +0000 ++++ efivar-37.sw/Make.defaults 2022-02-27 04:16:41.880000000 +0000 +@@ -1,6 +1,6 @@ + PREFIX ?= /usr + EXEC_PREFIX ?= $(PREFIX) +-LIBDIR ?= $(PREFIX)/lib64 ++LIBDIR ?= $(PREFIX)/lib + DATADIR ?= $(PREFIX)/share + MANDIR ?= $(DATADIR)/man + INCLUDEDIR ?= $(PREFIX)/include diff --git a/efivar.spec b/efivar.spec index 3ded7dc..9c944a9 100644 --- a/efivar.spec +++ b/efivar.spec @@ -1,6 +1,6 @@ Name: efivar Version: 37 -Release: 8 +Release: 9 Summary: Tools and libraries to work with EFI variables License: LGPLv2.1 URL: https://github.com/rhboot/%{name} @@ -9,6 +9,9 @@ Patch0001: first-fix-gcc9-new-waring.patch Patch0002: second-fix-gcc9-new-waring.patch Patch0003: backport-ucs2.h-remove-unused-variable.patch Patch0004: backport-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch +%ifarch sw_64 +Patch0005: efivar-37-sw.patch +%endif BuildRequires: popt-devel glibc-static BuildRequires: gcc @@ -67,6 +70,12 @@ export LDFLAGS="-flto-partition=none" %{_mandir}/man3/* %changelog +* Wed Oct 19 2022 wuzx - 37-9 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:Add sw64 architecture + * Mon May 16 2022 mylee - 37-8 - fix spec changelog date