From 6c81e6eae687b1a5723b673c7988375dfb774e50 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 16 Feb 2023 17:52:39 +0800 Subject: [PATCH] Add loongarch64 support (cherry picked from commit 45b7366c8147372b3b3da1800261ccd07bb228f0) --- lcr.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lcr.spec b/lcr.spec index 6e17ba3..bf1b2c3 100644 --- a/lcr.spec +++ b/lcr.spec @@ -1,5 +1,5 @@ %global _version 2.0.9 -%global _release 1 +%global _release 2 %global _inner_name isula_libutils Name: lcr @@ -22,7 +22,7 @@ BuildRequires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper} BuildRequires: zlib-devel yajl-devel gtest-devel Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib -ExclusiveArch: x86_64 aarch64 +ExclusiveArch: x86_64 aarch64 loongarch64 %ifarch x86_64 Provides: liblcr.so()(64bit) @@ -34,6 +34,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 @@ -103,6 +108,12 @@ rm -rf %{buildroot} %{_includedir}/%{_inner_name}/*.h %changelog +* Thu Feb 16 2023 Wenlong Zhang - 2.0.9-2 +- Type:enhancement +- CVE:NA +- SUG:NA +- DESC:Add loongarch64 support + * Sat Dec 17 2022 wangrunze - 2.0.9-1 - Type:enhancement - CVE:NA