!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 _version 2.0.3
|
||||||
%global _release 20200526.193115.git5f0148bc
|
%global _release 20200904.104745.git413e6757
|
||||||
Name: clibcni
|
Name: clibcni
|
||||||
Version: %{_version}
|
Version: %{_version}
|
||||||
Release: %{_release}
|
Release: %{_release}
|
||||||
@ -7,7 +7,7 @@ Summary: CNI - the Container Network Interface
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
URL: https://gitee.com/openeuler/clibcni
|
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}
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -37,15 +37,13 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
the %{name}-libs package contains libraries for running %{name} applications.
|
the %{name}-libs package contains libraries for running %{name} applications.
|
||||||
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name} -Sgit -p1
|
%autosetup -n %{name} -Sgit -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
%cmake -DDEBUG=OFF -DLIB_INSTALL_DIR=%{_libdir} ../
|
%cmake -DDEBUG=ON -DLIB_INSTALL_DIR=%{_libdir} ../
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -53,6 +51,7 @@ rm -rf %{buildroot}
|
|||||||
cd build
|
cd build
|
||||||
install -d $RPM_BUILD_ROOT/%{_libdir}
|
install -d $RPM_BUILD_ROOT/%{_libdir}
|
||||||
install -m 0644 ./src/libclibcni.so %{buildroot}/%{_libdir}/libclibcni.so
|
install -m 0644 ./src/libclibcni.so %{buildroot}/%{_libdir}/libclibcni.so
|
||||||
|
chmod +x %{buildroot}/%{_libdir}/libclibcni.so
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
|
install -d $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
|
||||||
install -m 0644 ./conf/clibcni.pc %{buildroot}/%{_libdir}/pkgconfig/clibcni.pc
|
install -m 0644 ./conf/clibcni.pc %{buildroot}/%{_libdir}/pkgconfig/clibcni.pc
|
||||||
@ -87,3 +86,8 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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