specify the minimum version requirements

Signed-off-by: gaohuatao <gaohuatao@huawei.com>
(cherry picked from commit ce3130f6cb745c42df698470d838bdfed1fde6ae)
This commit is contained in:
gaohuatao 2021-12-07 10:05:54 +08:00 committed by openeuler-sync-bot
parent d7a8c57e86
commit 23bdcc4a8e

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,11 @@ 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 +59,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 +245,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