From 85bc37d00ed47974db0b1edfbde0359a3c4ab27f Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 27 Jan 2021 14:57:33 +0100 Subject: [PATCH] Don't build the desktop support on RHEL 8+ as ImageMagick isn't available there. --- bsh.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bsh.spec b/bsh.spec index 4e6762e..c37c092 100644 --- a/bsh.spec +++ b/bsh.spec @@ -29,11 +29,15 @@ # %global reltag b6 +%if 0%{?rhel} >= 8 +%bcond_with desktop +%else %bcond_without desktop +%endif Name: bsh Version: 2.0 -Release: 21.%{reltag}%{?dist} +Release: 22.%{reltag}%{?dist} Epoch: 0 Summary: Lightweight Scripting for Java URL: http://www.beanshell.org/ @@ -178,6 +182,9 @@ cat scripts/bshdoc.bsh >> %{buildroot}%{_bindir}/bshdoc %license LICENSE NOTICE %changelog +* Wed Jan 27 2021 Tomas Popela - 0:2.0-22.b6 +- Don't build the desktop support on RHEL 8+ as ImageMagick isn't available there. + * Tue Jan 26 2021 Fedora Release Engineering - 0:2.0-21.b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild