!210 [sync] PR-206: Add loongarch64 support

Merge pull request !210 from openeuler-sync-bot/sync-pr206-openEuler-22.03-LTS-to-openEuler-22.03-LTS-Next
This commit is contained in:
haozi007 2023-02-21 08:10:42 +00:00 committed by Gitee
commit 2c15806c38
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,5 @@
%global _version 2.0.9 %global _version 2.0.9
%global _release 1 %global _release 2
%global _inner_name isula_libutils %global _inner_name isula_libutils
Name: lcr Name: lcr
@ -22,7 +22,7 @@ BuildRequires: lxc > %{lxcver_lower} lxc < %{lxcver_upper}
BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper} BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper}
BuildRequires: zlib-devel yajl-devel gtest-devel BuildRequires: zlib-devel yajl-devel gtest-devel
Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib
ExclusiveArch: x86_64 aarch64 ExclusiveArch: x86_64 aarch64 loongarch64
%ifarch x86_64 %ifarch x86_64
Provides: liblcr.so()(64bit) Provides: liblcr.so()(64bit)
@ -34,6 +34,11 @@ Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit) Provides: libisula_libutils.so()(64bit)
%endif %endif
%ifarch loongarch64
Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit)
%endif
%description %description
Containers are insulated areas inside a system, which have their own namespace 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 for filesystem, network, PID, IPC, CPU and memory allocation and which can be
@ -103,6 +108,12 @@ rm -rf %{buildroot}
%{_includedir}/%{_inner_name}/*.h %{_includedir}/%{_inner_name}/*.h
%changelog %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 * Sat Dec 17 2022 wangrunze<wangrunze13@huawei.com> - 2.0.9-1
- Type:enhancement - Type:enhancement
- CVE:NA - CVE:NA