disable gpm on RHEL >= 10 (RHEL-23679)

This commit is contained in:
Miroslav Lichvar 2024-02-01 14:52:14 +01:00
parent b4cf443916
commit 0350e63521

View File

@ -1,7 +1,9 @@
%if 0%{?rhel} >= 10
%bcond_with compat_libs
%bcond_with gpm
%else
%bcond_without compat_libs
%bcond_without gpm
%endif
%global revision 20240127
Summary: Ncurses support utilities
@ -17,7 +19,8 @@ Source2: https://invisible-island.net/public/dickey@invisible-island.net-rsa3072
Patch8: ncurses-config.patch
Patch9: ncurses-libs.patch
Patch11: ncurses-urxvt.patch
BuildRequires: gcc gcc-c++ gpm-devel gnupg2 make pkgconfig
BuildRequires: gcc gcc-c++ gnupg2 make pkgconfig
%{?with_gpm:BuildRequires: gpm-devel}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -144,6 +147,7 @@ common_options="\
--with-termlib=tinfo \
--with-ticlib=tic \
--with-xterm-kbs=DEL \
%{!?with_gpm:--without-gpm} \
--without-ada"
abi5_options="--with-chtype=long"