Explicitly specify JVM source and target version

This commit is contained in:
Marian Koncek 2022-08-05 15:48:24 +02:00
parent 919d6db4a7
commit 5cbf318e78

View File

@ -1,7 +1,7 @@
Name: regexp Name: regexp
Epoch: 1 Epoch: 1
Version: 1.5 Version: 1.5
Release: 39%{?dist} Release: 40%{?dist}
Summary: Simple regular expressions API Summary: Simple regular expressions API
License: ASL 2.0 License: ASL 2.0
URL: http://jakarta.apache.org/%{name}/ URL: http://jakarta.apache.org/%{name}/
@ -55,7 +55,7 @@ EOF
%build %build
mkdir lib mkdir lib
%ant -Djakarta-site2.dir=. jar javadocs %ant -Djakarta-site2.dir=. -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadocs
%mvn_artifact pom.xml build/*.jar %mvn_artifact pom.xml build/*.jar
@ -72,6 +72,9 @@ mkdir lib
%doc LICENSE %doc LICENSE
%changelog %changelog
* Fri Aug 05 2022 Marian Koncek <mkoncek@redhat.com> - 1:1.5-40
- Explicitly specify JVM source and target version
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-39 * Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild