Disable Qt5 GUI in RHEL 10 builds

RHEL 10 drops Qt5 in favor of Qt6.
This commit is contained in:
Yaakov Selkowitz 2023-06-19 20:09:49 -04:00
parent 729ad20f9b
commit dab1332a8d

View File

@ -1,12 +1,12 @@
Name: highlight Name: highlight
Summary: Universal source code to formatted text converter Summary: Universal source code to formatted text converter
Version: 4.6 Version: 4.6
Release: 1%{?dist} Release: 2%{?dist}
License: GPL-3.0-only License: GPL-3.0-only
URL: http://www.andre-simon.de/ URL: http://www.andre-simon.de/
Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2 Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2
%bcond qt 1 %bcond qt %[%{undefined rhel} || 0%{?rhel} < 10]
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%if %{with qt} %if %{with qt}
@ -107,6 +107,9 @@ desktop-file-install \
%changelog %changelog
* Tue Jun 20 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.6-2
- Disable Qt5 GUI in RHEL 10 builds
* Fri Jun 09 2023 Filipe Rosset <rosset.filipe@gmail.com> - 4.6-1 * Fri Jun 09 2023 Filipe Rosset <rosset.filipe@gmail.com> - 4.6-1
- update to 4.6 - update to 4.6