!214 remove dependance of sqlite

From: @wangfengtu
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
This commit is contained in:
openeuler-ci-bot 2021-12-09 04:18:32 +00:00 committed by Gitee
commit 24ccc202c4

View File

@ -1,7 +1,8 @@
%global _version 2.0.10 %global _version 2.0.10
%global _release 9 %global _release 10
%global is_systemd 1 %global is_systemd 1
%global enable_shimv2 1 %global enable_shimv2 1
%global is_embedded 1
Name: iSulad Name: iSulad
Version: %{_version} Version: %{_version}
@ -45,6 +46,11 @@ Requires(preun): chkconfig
Requires(preun): initscripts Requires(preun): initscripts
%endif %endif
%if 0%{?is_embedded}
BuildRequires: sqlite-devel
Requires: sqlite
%endif
%define lcrver 2.0.6 %define lcrver 2.0.6
%define clibcniver 2.0.6 %define clibcniver 2.0.6
@ -52,7 +58,7 @@ Requires(preun): initscripts
BuildRequires: lcr-devel >= %{lcrver} clibcni-devel >= %{clibcniver} BuildRequires: lcr-devel >= %{lcrver} clibcni-devel >= %{clibcniver}
BuildRequires: cmake gcc-c++ yajl-devel lxc lxc-devel BuildRequires: cmake gcc-c++ yajl-devel lxc lxc-devel
BuildRequires: grpc grpc-plugins grpc-devel protobuf-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: http-parser-devel
BuildRequires: libseccomp-devel libcap-devel libselinux-devel libwebsockets libwebsockets-devel BuildRequires: libseccomp-devel libcap-devel libselinux-devel libwebsockets libwebsockets-devel
BuildRequires: systemd-devel git chrpath BuildRequires: systemd-devel git chrpath
@ -64,7 +70,7 @@ BuildRequires: lib-shim-v2 lib-shim-v2-devel
Requires: clibcni >= %{clibcniver} lcr >= %{lcrver} Requires: clibcni >= %{clibcniver} lcr >= %{lcrver}
Requires: grpc protobuf lxc Requires: grpc protobuf lxc
Requires: libcurl Requires: libcurl
Requires: sqlite http-parser libseccomp Requires: http-parser libseccomp
Requires: libcap libselinux libwebsockets libarchive device-mapper Requires: libcap libselinux libwebsockets libarchive device-mapper
Requires: systemd Requires: systemd
%if 0%{?enable_shimv2} %if 0%{?enable_shimv2}
@ -246,6 +252,12 @@ fi
%endif %endif
%changelog %changelog
* Thu Dec 09 2021 wangfengtu <wagnfengtu@huawei.com> - 2.0.10-10
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: remove dependance of sqlite
* Mon Dec 06 2021 gaohuatao <gaohuatao@huawei.com> - 2.0.10-9 * Mon Dec 06 2021 gaohuatao <gaohuatao@huawei.com> - 2.0.10-9
- Type: bugfix - Type: bugfix
- ID: NA - ID: NA