From 4ca045cec8be6f2ba6ed11c5a1a2a1273c6c7dca Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Sat, 24 Feb 2024 08:51:21 +0100 Subject: [PATCH] Update Java source/target to 1.8 Also install license files in licensedir instead of docdir. Resolves: RHEL-68783 Resolves: RHEL-68784 --- regexp.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/regexp.spec b/regexp.spec index 2f6aed1..8abfde9 100644 --- a/regexp.spec +++ b/regexp.spec @@ -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 - 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 - 1:1.5-41 - Add noarch to ExclusiveArch