CentOS 8: Fix spec file for dpkg

(1)Add "BuildRequires: perl-Term-ANSIColor" to fix
missing dependency "perl(Term::ANSIColor)" issue
when running configure file.

(2)Remove dependency "ncurses-static" to resolve build problem
No "ncurses-static" rpm is provided upstream,
but "ncurses" srpm is provided upstream

Story: 2006729
Task: 37898
Depends-On: https://review.opendev.org/#/c/701162/
Change-Id: I6cf3dba2a86b0e7f68103e48a4bea4b2b0fe99e0
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
This commit is contained in:
Dongqi Chen 2019-12-26 09:36:15 +08:00 committed by Lin Shuicheng
parent ca3de5c230
commit 50de4dc814

View File

@ -10,8 +10,8 @@ Source0: %{name}_%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: ncurses-static
BuildRequires: perl-version
BuildRequires: perl-Term-ANSIColor
%description
dpkg