Compare commits

..

No commits in common. "2ff96e053a867830bf03819ad3d3347ac32fce03" and "ddc38f5192300ea1c1bdb24d5485a3d62f5f45cb" have entirely different histories.

3 changed files with 8 additions and 37 deletions

View File

@ -1,5 +1,5 @@
%global _version 2.1.0 %global _version 2.0.7
%global _release 2 %global _release 5
Name: clibcni Name: clibcni
Version: %{_version} Version: %{_version}
Release: %{_release} Release: %{_release}
@ -10,15 +10,16 @@ URL: https://gitee.com/openeuler/clibcni
Source0: https://gitee.com/openeuler/clibcni/repository/archive/v%{version}.tar.gz Source0: https://gitee.com/openeuler/clibcni/repository/archive/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}
%define libisulaver_lower 2.1.1-0 %define lcrver_lower 2.0.9-0
%define lcrver_upper 2.0.10-0
BuildRequires: gcc git gcc-c++ BuildRequires: gcc git gcc-c++
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libisula-devel > %{libisulaver_lower} yajl-devel gtest-devel gmock-devel BuildRequires: lcr-devel > %{lcrver_lower} lcr-devel < %{lcrver_upper} yajl-devel gtest-devel gmock-devel
Requires: libisula > %{libisulaver_lower} Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper}
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le %ifarch x86_64 aarch64
Provides: lib%{name}.so()(64bit) Provides: lib%{name}.so()(64bit)
%endif %endif
@ -33,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 riscv64 loongarch64 ppc64le ExclusiveArch: x86_64 aarch64 sw_64
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
@ -87,36 +88,6 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Tue Nov 28 2023 peng.zou <peng.zou@shingroup.cn> - 2.1.0-2
- Type: feature
- ID: NA
- SUG: NA
- DESC: Add ppc64le architecture
* Thu Nov 16 2023 jikai <jikai11@huawei.com> - 2.1.0-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: Update to 2.1.0
* Fri May 12 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.0.7-8
- Type: feature
- ID: NA
- SUG: NA
- DESC: Add loongarch64 architecture
* 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
- SUG: NA
- DESC: modify lcr dependence to libisula
* 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

BIN
v2.0.7.tar.gz Normal file

Binary file not shown.

Binary file not shown.