From 4557427a61ea6d4bd383fa8f636cec68c253e135 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 24 Apr 2024 20:53:04 +0200 Subject: [PATCH] spec: require ncurses only for readline Hopefully editline can go without ncurses dependency. --- spec/source.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/source.inc b/spec/source.inc index 0b3a42831..b5a62c5f8 100644 --- a/spec/source.inc +++ b/spec/source.inc @@ -181,8 +181,8 @@ BuildRequires: gcc BuildRequires: gcc-c++ %endif BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel -BuildRequires: ncurses-devel %if %{enable_readline} +BuildRequires: ncurses-devel BuildRequires: readline-devel %endif %if %{enable_editline}