!149 Add riscv64 architecture

Merge pull request !149 from misaka00251/master
This commit is contained in:
haozi007 2023-04-03 06:36:46 +00:00 committed by Gitee
commit c85752aac4
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 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 <liuxin@iscas.ac.cn> - 2.0.7-7
- Type: feature
- ID: NA
- SUG: NA
- DESC: Add riscv64 architecture
* Mon Feb 06 2023 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 2.0.7-6
- Type: bugfix
- ID: NA