Set javac source and target to 1.8

This commit is contained in:
Didik Supriadi 2021-12-01 21:21:19 +07:00
parent f089d9a2dc
commit ca3f0886fd

View File

@ -32,7 +32,7 @@
Name: jakarta-oro
Version: 2.0.8
Release: 33%{?dist}
Release: 34%{?dist}
Summary: Full regular expressions API
License: ASL 1.1
Source0: http://archive.apache.org/dist/jakarta/oro/%{name}-%{version}.tar.gz
@ -75,7 +75,7 @@ for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
cp %{SOURCE1} .
%build
ant -Dfinal.name=%{base_name} jar javadocs
ant -Dfinal.name=%{base_name} jar javadocs -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
%install
%mvn_file : %{name} %{base_name}
@ -91,6 +91,9 @@ ant -Dfinal.name=%{base_name} jar javadocs
%license LICENSE
%changelog
* Wed Dec 01 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 2.0.8-34
- Set javac source and target to 1.8
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.8-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild