From 8b0f3b818f5f2d5ad6f09d72be257fd7c6ad4c1f Mon Sep 17 00:00:00 2001 From: zhangxiaoyu Date: Fri, 4 Sep 2020 10:56:48 +0800 Subject: [PATCH] clibcni: modify spec Signed-off-by: zhangxiaoyu --- clibcni.spec | 14 ++++++++++---- clibcni-2.0.3.tar.gz => v2.0.3.tar.gz | Bin 2 files changed, 10 insertions(+), 4 deletions(-) rename clibcni-2.0.3.tar.gz => v2.0.3.tar.gz (100%) diff --git a/clibcni.spec b/clibcni.spec index 0883adf..d2eccc0 100644 --- a/clibcni.spec +++ b/clibcni.spec @@ -1,5 +1,5 @@ %global _version 2.0.3 -%global _release 20200903.172834.git4406507 +%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}-%{version}.tar.gz +Source0: https://gitee.com/openeuler/clibcni/repository/archive/v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: gcc @@ -37,7 +37,6 @@ 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 @@ -45,7 +44,7 @@ the %{name}-libs package contains libraries for running %{name} applications. %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 +52,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,6 +87,12 @@ rm -rf %{buildroot} %changelog +* Fri Sep 04 2020 zhangxiaoyu - 2.0.3-20200904.104745.git413e6757 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: modify spec + * Thu Sep 03 2020 zhangxiaoyu - 2.0.3-20200903.172834.git4406507 - Type:enhancement - ID:NA diff --git a/clibcni-2.0.3.tar.gz b/v2.0.3.tar.gz similarity index 100% rename from clibcni-2.0.3.tar.gz rename to v2.0.3.tar.gz -- Gitee