From dab1332a8d26a8c6c62d39a5132afa2c928cd6ee Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 19 Jun 2023 20:09:49 -0400 Subject: [PATCH] Disable Qt5 GUI in RHEL 10 builds RHEL 10 drops Qt5 in favor of Qt6. --- highlight.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/highlight.spec b/highlight.spec index 9ddd130..5bf500b 100644 --- a/highlight.spec +++ b/highlight.spec @@ -1,12 +1,12 @@ Name: highlight Summary: Universal source code to formatted text converter Version: 4.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-only URL: http://www.andre-simon.de/ Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2 -%bcond qt 1 +%bcond qt %[%{undefined rhel} || 0%{?rhel} < 10] BuildRequires: gcc-c++ %if %{with qt} @@ -107,6 +107,9 @@ desktop-file-install \ %changelog +* Tue Jun 20 2023 Yaakov Selkowitz - 4.6-2 +- Disable Qt5 GUI in RHEL 10 builds + * Fri Jun 09 2023 Filipe Rosset - 4.6-1 - update to 4.6