Added RHEL8 build.

This commit is contained in:
sbluhm 2021-08-25 16:16:42 +02:00
parent eb0a660d8d
commit c9f534482a

View File

@ -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 <stefan.bluhm@clacee.eu> - 1:4.19-3
- Added RHEL8 build.
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild