Add sw64 architecture

Signed-off-by: wzx <wuzx1226@qq.com>
This commit is contained in:
wzx 2022-10-19 16:04:22 +08:00
parent 033abc7e24
commit 756724307a
2 changed files with 21 additions and 1 deletions

11
efivar-37-sw.patch Executable file
View File

@ -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

View File

@ -1,6 +1,6 @@
Name: efivar Name: efivar
Version: 37 Version: 37
Release: 8 Release: 9
Summary: Tools and libraries to work with EFI variables Summary: Tools and libraries to work with EFI variables
License: LGPLv2.1 License: LGPLv2.1
URL: https://github.com/rhboot/%{name} URL: https://github.com/rhboot/%{name}
@ -9,6 +9,9 @@ Patch0001: first-fix-gcc9-new-waring.patch
Patch0002: second-fix-gcc9-new-waring.patch Patch0002: second-fix-gcc9-new-waring.patch
Patch0003: backport-ucs2.h-remove-unused-variable.patch Patch0003: backport-ucs2.h-remove-unused-variable.patch
Patch0004: backport-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.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: popt-devel glibc-static
BuildRequires: gcc BuildRequires: gcc
@ -67,6 +70,12 @@ export LDFLAGS="-flto-partition=none"
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 37-9
- Type:feature
- CVE:NA
- SUG:NA
- DESC:Add sw64 architecture
* Mon May 16 2022 mylee <liweiganga@uniontech.com> - 37-8 * Mon May 16 2022 mylee <liweiganga@uniontech.com> - 37-8
- fix spec changelog date - fix spec changelog date