Update Java source/target to 1.8

Also install license files in licensedir instead of docdir.

Resolves: RHEL-68783
Resolves: RHEL-68784
This commit is contained in:
Marian Koncek 2024-02-24 08:51:21 +01:00 committed by Mikolaj Izdebski
parent 01fb2bbbf2
commit 4ca045cec8

View File

@ -1,7 +1,7 @@
Name: regexp
Epoch: 1
Version: 1.5
Release: 41%{?dist}
Release: 42%{?dist}
Summary: Simple regular expressions API
License: ASL 2.0
URL: http://jakarta.apache.org/%{name}/
@ -51,7 +51,7 @@ EOF
%build
mkdir lib
%ant -Djakarta-site2.dir=. jar javadocs
%ant -Djakarta-site2.dir=. -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadocs
%mvn_artifact pom.xml build/*.jar
@ -62,12 +62,16 @@ mkdir lib
%ant -Djakarta-site2.dir=. test
%files -f .mfiles
%doc LICENSE
%license LICENSE
%files javadoc -f .mfiles-javadoc
%doc LICENSE
%license LICENSE
%changelog
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-42
- Update Java source/target to 1.8
- Install license files in licensedir instead of docdir
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 1:1.5-41
- Add noarch to ExclusiveArch