!207 Add loongarch64 support

Merge pull request !207 from zhangwenlong01/master
This commit is contained in:
haozi007 2023-02-21 09:02:01 +00:00 committed by Gitee
commit 823c4c6c66
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,5 @@
%global _version 2.1.1 %global _version 2.1.1
%global _release 3 %global _release 4
%global _inner_name isula_libutils %global _inner_name isula_libutils
Name: lcr Name: lcr
@ -36,6 +36,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
@ -48,18 +53,18 @@ lxc-based containers.
%package devel %package devel
Summary: Huawei container runtime headers for developing programs Summary: Huawei container runtime headers for developing programs
Group: Libraries Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64 ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%package -n libisula %package -n libisula
Summary: Huawei container json, log and utils C Library Summary: Huawei container json, log and utils C Library
Group: Libraries Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64 ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
%package -n libisula-devel %package -n libisula-devel
Summary: Huawei container json, log and utils C headers Summary: Huawei container json, log and utils C headers
Group: Libraries Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64 ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
Requires: libisula = %{version}-%{release} Requires: libisula = %{version}-%{release}
%description devel %description devel
@ -129,6 +134,12 @@ rm -rf %{buildroot}
%{_includedir}/%{_inner_name}/*.h %{_includedir}/%{_inner_name}/*.h
%changelog %changelog
* Tue Feb 21 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2.1.1-4
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC:Add loongarch64 support
* Tue Feb 21 2023 zhangxiaoyu<zhangxiaoyu58@huawei.com> - 2.1.1-3 * Tue Feb 21 2023 zhangxiaoyu<zhangxiaoyu58@huawei.com> - 2.1.1-3
- Type:enhancement - Type:enhancement
- CVE:NA - CVE:NA