diff --git a/ecj.spec b/ecj.spec index 1afb751..5a835f0 100644 --- a/ecj.spec +++ b/ecj.spec @@ -5,7 +5,7 @@ Epoch: 1 Summary: Eclipse Compiler for Java Name: ecj Version: 4.19 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://www.eclipse.org License: EPL-2.0 @@ -56,6 +56,9 @@ rm ./META-INF/ECLIPSE_.{SF,RSA} %mvn_artifact "org.eclipse:javax15api:jar:15" %{SOURCE5} %build +%if 0%{?rhel} +export JAVA_HOME=/usr/lib/jvm/java-11 +%endif ant -Djavaapi=%{SOURCE5} %install @@ -75,6 +78,9 @@ install -m 644 -p ecj.1 $RPM_BUILD_ROOT%{_mandir}/man1/ecj.1 %{_mandir}/man1/ecj* %changelog +* Wed Aug 25 2021 Stefan Bluhm - 1:4.19-3 +- Added RHEL8 build. + * Wed Jul 21 2021 Fedora Release Engineering - 1:4.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild