fix sw_64 build error

(cherry picked from commit b79dc786c4ab8c0c375912b0af4057b4c6bdfa40)
This commit is contained in:
Hailiang 2025-03-18 14:55:49 +08:00 committed by openeuler-sync-bot
parent 78b1688b3b
commit c542d83b29

View File

@ -2,7 +2,7 @@
Name: supermin Name: supermin
Version: 5.3.3 Version: 5.3.3
Release: 7 Release: 8
Summary: A tool for building supermin appliances, required by libguestfs Summary: A tool for building supermin appliances, required by libguestfs
License: GPLv2+ License: GPLv2+
URL: http://libguestfs.org/ URL: http://libguestfs.org/
@ -18,7 +18,7 @@ Patch9003: 9003-fix-cannot-detect-package-manager-on-KylinOS.patch
Patch9100: 9100-src-format_ext2_kernel.ml-Rename-function-file-kerne.patch Patch9100: 9100-src-format_ext2_kernel.ml-Rename-function-file-kerne.patch
Patch9101: 9101-src-Uncompress-kernel-on-RISC-V.patch Patch9101: 9101-src-Uncompress-kernel-on-RISC-V.patch
BuildRequires: musl-gcc musl-libc-static BuildRequires: musl-gcc musl-libc-static
%elifarch loongarch64 %elifarch loongarch64 sw_64
BuildRequires: glibc-static BuildRequires: glibc-static
%else %else
BuildRequires: dietlibc-devel BuildRequires: dietlibc-devel
@ -92,6 +92,9 @@ install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Tue Mar 18 2025 mahailiang <mahailiang@uniontech.com> - 5.3.3-8
- fix sw_64 build error
* Tue Dec 10 2024 xiaochn <xiaochuannan@inspur.com> - 5.3.3-7 * Tue Dec 10 2024 xiaochn <xiaochuannan@inspur.com> - 5.3.3-7
- Replace openEuler with vendor - Replace openEuler with vendor