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:
parent
01fb2bbbf2
commit
4ca045cec8
12
regexp.spec
12
regexp.spec
@ -1,7 +1,7 @@
|
|||||||
Name: regexp
|
Name: regexp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 41%{?dist}
|
Release: 42%{?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}/
|
||||||
@ -51,7 +51,7 @@ EOF
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir lib
|
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
|
%mvn_artifact pom.xml build/*.jar
|
||||||
|
|
||||||
@ -62,12 +62,16 @@ mkdir lib
|
|||||||
%ant -Djakarta-site2.dir=. test
|
%ant -Djakarta-site2.dir=. test
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 1:1.5-41
|
||||||
- Add noarch to ExclusiveArch
|
- Add noarch to ExclusiveArch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user