Temporarily build with OpenJDK 8

Upstream ticket that tracks openJDK 11 support is:
https://dev.entrouvert.org/issues/45876
This commit is contained in:
Jakub Hrozek 2020-08-13 13:29:47 +02:00
parent ad9cea0d1e
commit 4a649674d7

View File

@ -59,7 +59,7 @@
Summary: Liberty Alliance Single Sign On
Name: lasso
Version: 2.6.1
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
URL: http://lasso.entrouvert.org/
Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz
@ -118,7 +118,7 @@ Perl language bindings for the lasso (Liberty Alliance Single Sign On) library.
%if %{with_java}
%package -n java-%{name}
Summary: Liberty Alliance Single Sign On (lasso) Java bindings
BuildRequires: java-devel
Buildrequires: java-1.8.0-openjdk-devel
BuildRequires: jpackage-utils
Requires: java-headless
Requires: jpackage-utils
@ -196,6 +196,7 @@ sed -i -E -e '/^#![[:blank:]]*(\/usr\/bin\/env[[:blank:]]+python[^3]?\>)|(\/usr\
`grep -r -l -E '^#![[:blank:]]*(/usr/bin/python[^3]?)|(/usr/bin/env[[:blank:]]+python[^3]?)' *`
%build
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
./autogen.sh
%if 0%{?with_python2}
%configure %{configure_args} --with-python=%{__python2}
@ -306,6 +307,10 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name}
%endif
%changelog
* Thu Aug 13 2020 Jakub Hrozek <jhrozek@redhat.com> - 2.6.1-7
- Temporarily build with OpenJDK 8
- upstream ticket for OpenJDK11 support: https://dev.entrouvert.org/issues/45876
* Fri Aug 07 2020 Jeff Law <law@redhat.com> - 2.6.1-6
- Revert last change. I lost the patchfile and I can't reproduce the gcc-11
problem which almost certainly prompted it