!153 [sync] PR-152: Add loongarch64 architecture

Merge pull request !153 from openeuler-sync-bot/sync-pr152-openEuler-22.03-LTS-to-openEuler-22.03-LTS-Next
This commit is contained in:
haozi007 2023-05-15 02:23:50 +00:00 committed by Gitee
commit 0b0a5e2031
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,5 @@
%global _version 2.0.7
%global _release 5
%global _release 6
Name: clibcni
Version: %{_version}
Release: %{_release}
@ -19,7 +19,7 @@ BuildRequires: lcr-devel > %{lcrver_lower} lcr-devel < %{lcrver_upper} yajl-deve
Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper}
%ifarch x86_64 aarch64
%ifarch x86_64 aarch64 loongarch64
Provides: lib%{name}.so()(64bit)
%endif
@ -34,7 +34,7 @@ focus, CNI has a wide range of support and the specification is simple to implem
%package devel
Summary: Huawei CNI C Library
Group: Libraries
ExclusiveArch: x86_64 aarch64 sw_64
ExclusiveArch: x86_64 aarch64 sw_64 loongarch64
Requires: %{name} = %{version}-%{release}
%description devel
@ -88,6 +88,12 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Fri May 12 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.0.7-6
- Type: feature
- ID: NA
- SUG: NA
- DESC: Add loongarch64 architecture
* Wed Dec 21 2022 wangrunze <wangrunze13@huawei.com> - 2.0.7-5
- Type: bugfix
- ID: NA