From afda70d0cde1dba6f7c070320471fc5d5a24a934 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 27 Jun 2024 15:44:24 +0800 Subject: [PATCH] loongarch64: use glibc instead of unsupported dietlibc --- supermin.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/supermin.spec b/supermin.spec index f2c4514..81abd25 100644 --- a/supermin.spec +++ b/supermin.spec @@ -1,6 +1,6 @@ Name: supermin Version: 5.3.3 -Release: 5 +Release: 6 Summary: A tool for building supermin appliances, required by libguestfs License: GPLv2+ URL: http://libguestfs.org/ @@ -16,6 +16,8 @@ Patch9003: 9003-fix-cannot-detect-package-manager-on-KylinOS.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 @@ -55,6 +57,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_build %else make -C init CC="diet gcc" %endif @@ -80,6 +84,9 @@ install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/ %{_mandir}/man1/* %changelog +* Thu Jun 27 2024 Wenlong Zhang - 5.3.3-6 +- loongarch64: use glibc instead of unsupported dietlibc + * Mon Apr 22 2024 yueyuankun - 5.3.3-5 - fix cannot detect package manager on KylinOS