From 3e75e77dcd86f712c0e9e7e67d4f111e9d84b4ef Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Sat, 24 Feb 2024 08:46:00 +0100 Subject: [PATCH] Switch Java compiler source/target to 1.8 Resolves: RHEL-52695 --- jzlib.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jzlib.spec b/jzlib.spec index 5bf70ab..69a4637 100644 --- a/jzlib.spec +++ b/jzlib.spec @@ -36,10 +36,10 @@ Requires: %{name} = %{version}-%{release} %prep %setup -q -%patch0 +%patch 0 -%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.7 -%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.7 +%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.8 +%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.8 # Make into OSGi bundle %pom_xpath_inject "pom:project" "bundle" @@ -67,6 +67,10 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name} %doc %{_datadir}/%{name} %changelog +* Mon Aug 05 2024 Mikolaj Izdebski - 1.1.3-29 +- Switch Java compiler source/target to 1.8 +- Resolves: RHEL-52695 + * Thu Aug 01 2024 Troy Dawson - 1.1.3-29 - Bump release for Aug 2024 java mass rebuild