From 9ff6edb3daf1c39b070f12e017efdcf8f77cd17a Mon Sep 17 00:00:00 2001 From: misaka00251 Date: Mon, 27 Mar 2023 15:50:38 +0800 Subject: [PATCH] Add riscv64 architecture (cherry picked from commit 85b0032fc7203cd3b1a038a9a47ce092f8b15535) --- clibcni.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/clibcni.spec b/clibcni.spec index 9537025..5a5b75c 100644 --- a/clibcni.spec +++ b/clibcni.spec @@ -1,5 +1,5 @@ %global _version 2.0.7 -%global _release 6 +%global _release 7 Name: clibcni Version: %{_version} Release: %{_release} @@ -20,7 +20,7 @@ BuildRequires: libisula-devel > %{libisulaver_lower} yajl-devel gtest-devel gmoc Requires: libisula > %{libisulaver_lower} -%ifarch x86_64 aarch64 +%ifarch x86_64 aarch64 riscv64 Provides: lib%{name}.so()(64bit) %endif @@ -35,7 +35,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 riscv64 Requires: %{name} = %{version}-%{release} %description devel @@ -89,6 +89,12 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/%{name}.pc %changelog +* Mon Mar 27 2023 misaka00251 - 2.0.7-7 +- Type: feature +- ID: NA +- SUG: NA +- DESC: Add riscv64 architecture + * Mon Feb 06 2023 zhangxiaoyu - 2.0.7-6 - Type: bugfix - ID: NA -- Gitee