From 958fcd29ebe2f11fbbeb9d00a33471a2ffe2dca6 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 16 Feb 2023 17:52:39 +0800 Subject: [PATCH] Add loongarch64 support --- lcr.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lcr.spec b/lcr.spec index baef24c..7ab2a89 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,6 +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 loongarch64 %ifarch x86_64 Provides: liblcr.so()(64bit) @@ -33,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 @@ -102,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