disable gpm on RHEL >= 10 (RHEL-23679)
This commit is contained in:
parent
b4cf443916
commit
0350e63521
@ -1,7 +1,9 @@
|
|||||||
%if 0%{?rhel} >= 10
|
%if 0%{?rhel} >= 10
|
||||||
%bcond_with compat_libs
|
%bcond_with compat_libs
|
||||||
|
%bcond_with gpm
|
||||||
%else
|
%else
|
||||||
%bcond_without compat_libs
|
%bcond_without compat_libs
|
||||||
|
%bcond_without gpm
|
||||||
%endif
|
%endif
|
||||||
%global revision 20240127
|
%global revision 20240127
|
||||||
Summary: Ncurses support utilities
|
Summary: Ncurses support utilities
|
||||||
@ -17,7 +19,8 @@ Source2: https://invisible-island.net/public/dickey@invisible-island.net-rsa3072
|
|||||||
Patch8: ncurses-config.patch
|
Patch8: ncurses-config.patch
|
||||||
Patch9: ncurses-libs.patch
|
Patch9: ncurses-libs.patch
|
||||||
Patch11: ncurses-urxvt.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}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -144,6 +147,7 @@ common_options="\
|
|||||||
--with-termlib=tinfo \
|
--with-termlib=tinfo \
|
||||||
--with-ticlib=tic \
|
--with-ticlib=tic \
|
||||||
--with-xterm-kbs=DEL \
|
--with-xterm-kbs=DEL \
|
||||||
|
%{!?with_gpm:--without-gpm} \
|
||||||
--without-ada"
|
--without-ada"
|
||||||
abi5_options="--with-chtype=long"
|
abi5_options="--with-chtype=long"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user