clibcni: upgrade to v2.0.3
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
This commit is contained in:
parent
ca203e532e
commit
f48791ae0c
15
clibcni.spec
15
clibcni.spec
@ -1,5 +1,5 @@
|
|||||||
%global _version 2.0.2
|
%global _version 2.0.3
|
||||||
%global _release 20200902.113625.git660192c5
|
%global _release 20200904.104745.git413e6757
|
||||||
Name: clibcni
|
Name: clibcni
|
||||||
Version: %{_version}
|
Version: %{_version}
|
||||||
Release: %{_release}
|
Release: %{_release}
|
||||||
@ -37,7 +37,6 @@ 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
|
||||||
@ -45,7 +44,7 @@ the %{name}-libs package contains libraries for running %{name} applications.
|
|||||||
%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 +52,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
|
||||||
@ -85,8 +85,13 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/%{name}/*.h
|
%{_includedir}/%{name}/*.h
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
* Wed Sep 02 2020 YoungJQ <yangjiaqi11@huawei.com> - 2.0.2-20200902.113625.git660192c5
|
* Wed Sep 02 2020 YoungJQ <yangjiaqi11@huawei.com> - 2.0.2-20200902.113625.git660192c5
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
BIN
v2.0.2.tar.gz
BIN
v2.0.2.tar.gz
Binary file not shown.
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