!470 add required package lcr lower and upper version
From: @zh_xiaoyu Reviewed-by: @duguhaotian Signed-off-by: @duguhaotian
This commit is contained in:
commit
88a6cfce4a
20
iSulad.spec
20
iSulad.spec
@ -1,5 +1,5 @@
|
||||
%global _version 2.0.17
|
||||
%global _release 2
|
||||
%global _release 3
|
||||
%global is_systemd 1
|
||||
%global enable_shimv2 1
|
||||
%global is_embedded 1
|
||||
@ -38,11 +38,14 @@ BuildRequires: sqlite-devel
|
||||
Requires: sqlite
|
||||
%endif
|
||||
|
||||
%define lcrver 2.0.8
|
||||
%define clibcniver 2.0.7
|
||||
%define lcrver_lower 2.0.8-0
|
||||
%define lcrver_upper 2.0.9-0
|
||||
%define clibcniver_lower 2.0.7-0
|
||||
%define clibcniver_upper 2.0.8-0
|
||||
|
||||
|
||||
BuildRequires: lcr-devel >= %{lcrver} clibcni-devel >= %{clibcniver}
|
||||
BuildRequires: lcr-devel > %{lcrver_lower} lcr-devel < %{lcrver_upper}
|
||||
BuildRequires: clibcni-devel > %{clibcniver_lower} clibcni-devel < %{clibcniver_upper}
|
||||
BuildRequires: cmake gcc-c++ yajl-devel lxc lxc-devel
|
||||
BuildRequires: grpc grpc-plugins grpc-devel protobuf-devel
|
||||
BuildRequires: libcurl libcurl-devel libarchive-devel device-mapper-devel
|
||||
@ -54,7 +57,8 @@ BuildRequires: lib-shim-v2 lib-shim-v2-devel
|
||||
%endif
|
||||
|
||||
|
||||
Requires: clibcni >= %{clibcniver} lcr >= %{lcrver}
|
||||
Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper}
|
||||
Requires: clibcni > %{clibcniver_lower} clibcni < %{clibcniver_upper}
|
||||
Requires: grpc protobuf lxc
|
||||
Requires: libcurl
|
||||
Requires: http-parser libseccomp
|
||||
@ -236,6 +240,12 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Oct 19 2022 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 2.0.17-3
|
||||
- Type: enhancement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: add required package lcr clibcni lower and upper version
|
||||
|
||||
* Mon Oct 10 2022 zhangxiaoyu <zhangxiaoyu58@huawei.com> - 2.0.17-2
|
||||
- Type: enhancement
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user