Don't build the desktop support on RHEL 8+ as ImageMagick isn't available there.

This commit is contained in:
Tomas Popela 2021-01-27 14:57:33 +01:00
parent 88db4b167f
commit 85bc37d00e

View File

@ -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 <tpopela@redhat.com> - 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 <releng@fedoraproject.org> - 0:2.0-21.b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild