add loongarch support for efi-rpm-macros

(cherry picked from commit bd9860f8b00b0a1c7d0f62b73ba586844a0e04d9)
This commit is contained in:
Wenlong Zhang 2022-11-19 07:30:37 +00:00 committed by openeuler-sync-bot
parent 98fad50ab6
commit 6697b77171

View File

@ -4,7 +4,7 @@
Name: efi-rpm-macros Name: efi-rpm-macros
Version: 4 Version: 4
Release: 6 Release: 7
Summary: A set of EFI-related RPM Macros Summary: A set of EFI-related RPM Macros
License: GPLv3+ License: GPLv3+
URL: https://github.com/rhboot/%{name}/ URL: https://github.com/rhboot/%{name}/
@ -39,7 +39,7 @@ machine bootloaders and tools.
%autosetup -S git -n %{name}-4 %autosetup -S git -n %{name}-4
git config --local --add efi.vendor "%{_vendor}" git config --local --add efi.vendor "%{_vendor}"
git config --local --add efi.esp-root /boot/efi git config --local --add efi.esp-root /boot/efi
git config --local --add efi.arches "x86_64 aarch64" git config --local --add efi.arches "x86_64 aarch64 loongarch64"
%build %build
%make_build EFI_VENDOR=%{_efi_vendor_} clean all %make_build EFI_VENDOR=%{_efi_vendor_} clean all
@ -59,6 +59,9 @@ git config --local --add efi.arches "x86_64 aarch64"
%{_prefix}/lib/rpm/brp-boot-efi-times %{_prefix}/lib/rpm/brp-boot-efi-times
%changelog %changelog
* Sat Nov 19 Wenlong Zhang <zhangwenlong@loongson.cn> - 4-7
- add loongarch support for efi-rpm-macros
* Thu Jun 16 2022 yanglu <yanglu72@h-partners.com> - 4-6 * Thu Jun 16 2022 yanglu <yanglu72@h-partners.com> - 4-6
- DESC:delete macros in changelog - DESC:delete macros in changelog