!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:
commit
c4aadda41b
Binary file not shown.
16
clibcni.spec
16
clibcni.spec
@ -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
BIN
v2.0.3.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user