delete compilation dependency:lxc, and add running dependency:runc, compilation dependency:ncurses-devel

Signed-off-by: zhongtao <zhongtao17@huawei.com>
(cherry picked from commit fc3170332db2f8e4368cbe81756530aefd6241f0)
This commit is contained in:
zhongtao 2023-12-21 10:38:12 +08:00 committed by openeuler-sync-bot
parent 58acb01999
commit e57fb2d6e5

View File

@ -1,5 +1,5 @@
%global _version 2.1.4
%global _release 2
%global _release 3
%global is_systemd 1
%global enable_criv1 1
%global enable_shimv2 1
@ -110,8 +110,8 @@ BuildRequires: gtest-devel gmock-devel
%define lcrver_upper 2.1.4-0
BuildRequires: libisula-devel > %{lcrver_lower} libisula-devel < %{lcrver_upper}
BuildRequires: cmake gcc-c++ yajl-devel lxc lxc-devel
BuildRequires: grpc grpc-plugins grpc-devel protobuf-devel
BuildRequires: cmake gcc-c++ yajl-devel
BuildRequires: grpc grpc-plugins grpc-devel protobuf-devel ncurses-devel
BuildRequires: libcurl libcurl-devel libarchive-devel device-mapper-devel
BuildRequires: http-parser-devel
BuildRequires: libseccomp-devel libcap-devel libselinux-devel libwebsockets libwebsockets-devel
@ -124,11 +124,12 @@ BuildRequires: lib-shim-v2 lib-shim-v2-devel
Requires: libisula > %{lcrver_lower} libisula < %{lcrver_upper}
Requires: lcr > %{lcrver_lower} lcr < %{lcrver_upper}
Requires: grpc protobuf lxc
Requires: grpc protobuf
Requires: libcurl
Requires: http-parser libseccomp
Requires: libcap libselinux libwebsockets libarchive device-mapper
Requires: systemd
Requires: (docker-runc or runc)
BuildRequires: libevhtp libevent
%if 0%{?enable_shimv2}
Requires: lib-shim-v2
@ -330,6 +331,12 @@ fi
%endif
%changelog
* Thu Dec 21 2023 zhongtao <zhongtao17@huawei.com> - 2.1.4-3
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: delete compilation dependency:lxc, and add running dependency:runc, compilation dependency:ncurses-devel
* Thu Dec 21 2023 zhongtao <zhongtao17@huawei.com> - 2.1.4-2
- Type: bugfix
- ID: NA