Add loongarch64 architecture
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn> (cherry picked from commit 60f037efc1138f9e59f6aec6e0f1ca977424ac3e)
This commit is contained in:
parent
6b81486af5
commit
1da144806f
12
clibcni.spec
12
clibcni.spec
@ -1,5 +1,5 @@
|
|||||||
%global _version 2.0.7
|
%global _version 2.0.7
|
||||||
%global _release 5
|
%global _release 6
|
||||||
Name: clibcni
|
Name: clibcni
|
||||||
Version: %{_version}
|
Version: %{_version}
|
||||||
Release: %{_release}
|
Release: %{_release}
|
||||||
@ -19,7 +19,7 @@ BuildRequires: lcr-devel > %{lcrver_lower} lcr-devel < %{lcrver_upper} yajl-deve
|
|||||||
|
|
||||||
Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper}
|
Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper}
|
||||||
|
|
||||||
%ifarch x86_64 aarch64
|
%ifarch x86_64 aarch64 loongarch64
|
||||||
Provides: lib%{name}.so()(64bit)
|
Provides: lib%{name}.so()(64bit)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ focus, CNI has a wide range of support and the specification is simple to implem
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Huawei CNI C Library
|
Summary: Huawei CNI C Library
|
||||||
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}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -88,6 +88,12 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 21 2022 wangrunze <wangrunze13@huawei.com> - 2.0.7-5
|
||||||
- Type: bugfix
|
- Type: bugfix
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user