From 93f64f9757cd8290f33c86d3d555afd07bcd69f8 Mon Sep 17 00:00:00 2001 From: WangFengTu Date: Thu, 9 Dec 2021 11:03:56 +0800 Subject: [PATCH] remove dependance of sqlite Signed-off-by: WangFengTu (cherry picked from commit d941775e33df717e671a77521efca4d47b9c9f44) --- iSulad.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/iSulad.spec b/iSulad.spec index e0a257d..369d1bb 100644 --- a/iSulad.spec +++ b/iSulad.spec @@ -1,7 +1,8 @@ %global _version 2.0.10 -%global _release 9 +%global _release 10 %global is_systemd 1 %global enable_shimv2 1 +%global is_embedded 1 Name: iSulad Version: %{_version} @@ -45,13 +46,18 @@ Requires(preun): chkconfig Requires(preun): initscripts %endif +%if 0%{?is_embedded} +BuildRequires: sqlite-devel +Requires: sqlite +%endif + %define lcrver 2.0.6 %define clibcniver 2.0.6 BuildRequires: lcr-devel >= %{lcrver} clibcni-devel >= %{clibcniver} BuildRequires: cmake gcc-c++ yajl-devel lxc lxc-devel BuildRequires: grpc grpc-plugins grpc-devel protobuf-devel -BuildRequires: libcurl libcurl-devel sqlite-devel libarchive-devel device-mapper-devel +BuildRequires: libcurl libcurl-devel libarchive-devel device-mapper-devel BuildRequires: http-parser-devel BuildRequires: libseccomp-devel libcap-devel libselinux-devel libwebsockets libwebsockets-devel BuildRequires: systemd-devel git chrpath @@ -63,7 +69,7 @@ BuildRequires: lib-shim-v2 lib-shim-v2-devel Requires: clibcni >= %{clibcniver} lcr >= %{lcrver} Requires: grpc protobuf lxc Requires: libcurl -Requires: sqlite http-parser libseccomp +Requires: http-parser libseccomp Requires: libcap libselinux libwebsockets libarchive device-mapper Requires: systemd %if 0%{?enable_shimv2} @@ -245,6 +251,12 @@ fi %endif %changelog +* Thu Dec 09 2021 wangfengtu - 2.0.10-10 +- Type: bugfix +- ID: NA +- SUG: NA +- DESC: remove dependance of sqlite + * Mon Dec 06 2021 gaohuatao - 2.0.10-9 - Type: bugfix - ID: NA -- Gitee