Add loongarch64 support

(cherry picked from commit 45b7366c8147372b3b3da1800261ccd07bb228f0)
This commit is contained in:
Wenlong Zhang 2023-02-16 17:52:39 +08:00 committed by openeuler-sync-bot
parent d75b98a4ac
commit 6c81e6eae6

View File

@ -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<zhangwenlong@loongson.cn> - 2.0.9-2
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC:Add loongarch64 support
* Sat Dec 17 2022 wangrunze<wangrunze13@huawei.com> - 2.0.9-1
- Type:enhancement
- CVE:NA