From de8c5bea57e23db90fc6d87ce3ea97fc4652efe7 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 6 Feb 2024 13:13:34 -0500 Subject: [PATCH] Disable gpm on ELN gpm is unwanted in RHEL 10: https://github.com/minimization/content-resolver-input/pull/1084 --- mc.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mc.spec b/mc.spec index 00a8e25..24aa374 100644 --- a/mc.spec +++ b/mc.spec @@ -1,11 +1,12 @@ # NOTE: disabled sftp (needs to be ported to use libssh instead of libssh2) -%bcond_without slang +%bcond gpm %[!(0%{?rhel} >= 10)] +%bcond slang 1 Summary: User-friendly text console file manager and visual shell Name: mc Epoch: 1 Version: 4.8.30 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-3.0-or-later URL: https://midnight-commander.org/ VCS: https://github.com/MidnightCommander/mc/ @@ -18,7 +19,9 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gettext-devel +%if %{with gpm} BuildRequires: gpm-devel +%endif BuildRequires: groff-base BuildRequires: libtool BuildRequires: make @@ -65,7 +68,7 @@ Midnight Commander s3+ and UC1541 EXTFS backend scripts. --enable-vfs-ftp \ --enable-vfs-sfs \ --enable-vfs-tar \ - --with-gpm-mouse \ + --with%{!?with_gpm:out}-gpm-mouse \ --with-screen=%[%{?with_slang}?"slang":"ncurses"] \ --with-x \ %{nil} @@ -101,6 +104,9 @@ Midnight Commander s3+ and UC1541 EXTFS backend scripts. %{_libexecdir}/mc/extfs.d/{s3+,uc1541} %changelog +* Tue Feb 06 2024 Yaakov Selkowitz - 1:4.8.30-4 +- Disable gpm on ELN + * Thu Jan 25 2024 Fedora Release Engineering - 1:4.8.30-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild