Fix Java build requirement

Since the system openJDK version 17 has been added, few Objective C
tests are broken.
Fix the requirement so that both Java and Objective C test still work.

Resolves: rhbz#2051135
Version: 1.16.5-4
Suggested-by: Jiri Vanek <jvanek@redhat.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
Frederic Berat 2022-02-09 15:25:47 +01:00
parent b864287c70
commit 3e8430b36d

View File

@ -15,7 +15,7 @@ Summary: A GNU tool for automatically creating Makefiles
Name: automake
# Any bump here requires libtool rebuild, rhbz#1813010
Version: %{api_version}.5
Release: 3%{?dist}
Release: 4%{?dist}
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
License: GPLv2+ and GFDL and Public Domain and MIT
@ -56,7 +56,7 @@ BuildRequires: expect
BuildRequires: flex
BuildRequires: gcc-gfortran
BuildRequires: gettext-devel
BuildRequires: java-11-openjdk-devel
BuildRequires: java-devel
BuildRequires: libtool
BuildRequires: ncompress
BuildRequires: sharutils
@ -131,6 +131,9 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \
%changelog
* Mon Feb 07 2022 Frederic Berat <fberat@redhat.com> - 1.16.5-4
- Switch to java-devel as a build requirement (#2051135)
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.16.5-3
- Rebuilt for java-17-openjdk as system jdk