diff --git a/supermin.spec b/supermin.spec index 256eb55..3dfadbd 100644 --- a/supermin.spec +++ b/supermin.spec @@ -1,6 +1,6 @@ Name: supermin Version: 5.3.3 -Release: 4 +Release: 5 Summary: A tool for building supermin appliances, required by libguestfs License: GPLv2+ URL: http://libguestfs.org/ @@ -15,6 +15,8 @@ Patch0004: 0001-fix-cannot-detect-package-manager-on-NestOS.patch Patch9100: 9100-src-format_ext2_kernel.ml-Rename-function-file-kerne.patch Patch9101: 9101-src-Uncompress-kernel-on-RISC-V.patch BuildRequires: musl-gcc musl-libc-static +%elifarch loongarch64 +BuildRequires: glibc-static %else BuildRequires: dietlibc-devel %endif @@ -54,6 +56,8 @@ This contains man files for the using of supermin. %configure --disable-network-tests %ifarch riscv64 make -C init CC="musl-gcc" +%elifarch loongarch64 +make -C init CC="gcc" %else make -C init CC="diet gcc" %endif @@ -79,6 +83,9 @@ install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/ %{_mandir}/man1/* %changelog +* Tue Oct 15 2024 Wenlong Zhang - 5.3.3-5 +- use glibc instead of unsupported dietlibc + * Mon Apr 22 2024 laokz - 5.3.3-4 - riscv64: use musl instead of unsupported dietlibc