From 6e51d678be91a6bc8af9b24f653360561334348f Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Fri, 12 May 2023 11:38:52 +0800 Subject: [PATCH] Add loongarch64 architecture Signed-off-by: Wenlong Zhang (cherry picked from commit 60f037efc1138f9e59f6aec6e0f1ca977424ac3e) --- clibcni.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/clibcni.spec b/clibcni.spec index 750ce84..2592672 100644 --- a/clibcni.spec +++ b/clibcni.spec @@ -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 - 2.0.7-6 +- Type: feature +- ID: NA +- SUG: NA +- DESC: Add loongarch64 architecture + * Wed Dec 21 2022 wangrunze - 2.0.7-5 - Type: bugfix - ID: NA -- Gitee