Set javac source and target to 1.8
Resolves: RHEL-68779
This commit is contained in:
parent
55e6a853c9
commit
ab9aad6447
@ -32,7 +32,7 @@
|
||||
|
||||
Name: jakarta-oro
|
||||
Version: 2.0.8
|
||||
Release: 38%{?dist}
|
||||
Release: 39%{?dist}
|
||||
Summary: Full regular expressions API
|
||||
License: ASL 1.1
|
||||
Source0: http://archive.apache.org/dist/jakarta/oro/%{name}-%{version}.tar.gz
|
||||
@ -72,7 +72,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}
|
||||
@ -88,6 +88,9 @@ ant -Dfinal.name=%{base_name} jar javadocs
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.8-39
|
||||
- Set javac source and target to 1.8
|
||||
|
||||
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 2.0.8-38
|
||||
- Add noarch to ExclusiveArch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user