!22 clibcni: upgrade from v2.0.2 to v2.0.3

Merge pull request !22 from zhangxiaoyu/openEuler-20.03-LTS
This commit is contained in:
openeuler-ci-bot 2020-09-07 10:36:01 +08:00 committed by Gitee
commit c4aadda41b
3 changed files with 10 additions and 6 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
%global _version 2.0.2
%global _release 20200526.193115.git5f0148bc
%global _version 2.0.3
%global _release 20200904.104745.git413e6757
Name: clibcni
Version: %{_version}
Release: %{_release}
@ -7,7 +7,7 @@ Summary: CNI - the Container Network Interface
Group: System Environment/Libraries
License: Mulan PSL v2
URL: https://gitee.com/openeuler/clibcni
Source0: %{name}-2.0.2.tar.gz
Source0: https://gitee.com/openeuler/clibcni/repository/archive/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRequires: gcc
@ -37,15 +37,13 @@ Requires: %{name} = %{version}-%{release}
%description devel
the %{name}-libs package contains libraries for running %{name} applications.
%global debug_package %{nil}
%prep
%autosetup -n %{name} -Sgit -p1
%build
mkdir -p build
cd build
%cmake -DDEBUG=OFF -DLIB_INSTALL_DIR=%{_libdir} ../
%cmake -DDEBUG=ON -DLIB_INSTALL_DIR=%{_libdir} ../
%make_build
%install
@ -53,6 +51,7 @@ rm -rf %{buildroot}
cd build
install -d $RPM_BUILD_ROOT/%{_libdir}
install -m 0644 ./src/libclibcni.so %{buildroot}/%{_libdir}/libclibcni.so
chmod +x %{buildroot}/%{_libdir}/libclibcni.so
install -d $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
install -m 0644 ./conf/clibcni.pc %{buildroot}/%{_libdir}/pkgconfig/clibcni.pc
@ -87,3 +86,8 @@ rm -rf %{buildroot}
%changelog
* Fri Sep 04 2020 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 2.0.3-20200904.104745.git413e6757
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: upgrade from v2.0.2 to v2.0.3

BIN
v2.0.3.tar.gz Normal file

Binary file not shown.