From df23304cef89d345e8d33ba86f414db09bb8727b Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 16 Feb 2023 19:10:40 +0800 Subject: [PATCH] Add loongarch64 support --- lcr.spec | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/lcr.spec b/lcr.spec index 6808aaf..ae92f97 100644 --- a/lcr.spec +++ b/lcr.spec @@ -1,5 +1,5 @@ %global _version 2.1.1 -%global _release 3 +%global _release 4 %global _inner_name isula_libutils Name: lcr @@ -36,6 +36,11 @@ Provides: liblcr.so()(64bit) Provides: libisula_libutils.so()(64bit) %endif +%ifarch loongarch64 +Provides: liblcr.so()(64bit) +Provides: libisula_libutils.so()(64bit) +%endif + %description Containers are insulated areas inside a system, which have their own namespace for filesystem, network, PID, IPC, CPU and memory allocation and which can be @@ -48,18 +53,18 @@ lxc-based containers. %package devel Summary: Huawei container runtime headers for developing programs Group: Libraries -ExclusiveArch: x86_64 aarch64 sw_64 +ExclusiveArch: x86_64 aarch64 sw_64 loongarch64 Requires: %{name} = %{version}-%{release} %package -n libisula Summary: Huawei container json, log and utils C Library Group: Libraries -ExclusiveArch: x86_64 aarch64 sw_64 +ExclusiveArch: x86_64 aarch64 sw_64 loongarch64 %package -n libisula-devel Summary: Huawei container json, log and utils C headers Group: Libraries -ExclusiveArch: x86_64 aarch64 sw_64 +ExclusiveArch: x86_64 aarch64 sw_64 loongarch64 Requires: libisula = %{version}-%{release} %description devel @@ -129,6 +134,12 @@ rm -rf %{buildroot} %{_includedir}/%{_inner_name}/*.h %changelog +* Tue Feb 21 2023 Wenlong Zhang - 2.1.1-4 +- Type:enhancement +- CVE:NA +- SUG:NA +- DESC:Add loongarch64 support + * Tue Feb 21 2023 zhangxiaoyu - 2.1.1-3 - Type:enhancement - CVE:NA