!207 specify the minimum version requirements

From: @gaohuatao
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
This commit is contained in:
openeuler-ci-bot 2021-12-07 01:25:14 +00:00 committed by Gitee
commit 1ad9f2d785

View File

@ -1,5 +1,5 @@
%global _version 2.0.10
%global _release 8
%global _release 9
%global is_systemd 1
%global enable_shimv2 1
@ -45,7 +45,12 @@ Requires(preun): chkconfig
Requires(preun): initscripts
%endif
BuildRequires: cmake gcc-c++ lxc lxc-devel lcr-devel yajl-devel clibcni-devel
%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: http-parser-devel
@ -55,8 +60,9 @@ BuildRequires: systemd-devel git chrpath
BuildRequires: lib-shim-v2 lib-shim-v2-devel
%endif
Requires: lcr lxc clibcni
Requires: grpc protobuf
Requires: clibcni >= %{clibcniver} lcr >= %{lcrver}
Requires: grpc protobuf lxc
Requires: libcurl
Requires: sqlite http-parser libseccomp
Requires: libcap libselinux libwebsockets libarchive device-mapper
@ -240,6 +246,12 @@ fi
%endif
%changelog
* Mon Dec 06 2021 gaohuatao <gaohuatao@huawei.com> - 2.0.10-9
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: specify version
* Thu Dec 03 2021 wangfengtu <wangfengtu@huawei.com> - 2.0.10-8
- Type: bugfix
- ID: NA