Update javac source/target to 1.8 for Java 17 compatibility
Update the existing libformula-1.1.2.java11.patch to change
javac.source and javac.target values from 1.6 to 1.8, enabling
compatibility with Java 17 (OpenJDK 17). This is a direct
modification to the existing dist-git patch file, backported
from Fedora.
Upstream patches:
- 867c9d645c.patch
Resolves: RHEL-183542
This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.
Assisted-by: Ymir
This commit is contained in:
parent
87b98b36a0
commit
424c6a1f53
@ -6,8 +6,8 @@
|
||||
description="Indicates whether source should be compiled with deprecation information" />
|
||||
- <property name="javac.source" value="1.5" description="Provide source compatibility with specified release" />
|
||||
- <property name="javac.target" value="1.5" description="Generate class files for specific VM version" />
|
||||
+ <property name="javac.source" value="1.6" description="Provide source compatibility with specified release" />
|
||||
+ <property name="javac.target" value="1.6" description="Generate class files for specific VM version" />
|
||||
+ <property name="javac.source" value="1.8" description="Provide source compatibility with specified release" />
|
||||
+ <property name="javac.target" value="1.8" description="Generate class files for specific VM version" />
|
||||
|
||||
<!-- Build Cache properties -->
|
||||
<property name="build.cache.dir"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: libformula
|
||||
Version: 1.1.3
|
||||
Release: 32%{?dist}
|
||||
Release: 33%{?dist}
|
||||
Summary: Formula Parser
|
||||
License: LGPLv2
|
||||
#Original source: http://downloads.sourceforge.net/jfreereport/%%{name}-%%{version}.zip
|
||||
@ -58,6 +58,10 @@ cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Jun 30 2026 RHEL Packaging Agent <redhat-ymir-agent@redhat.com> - 1.1.3-33
|
||||
- Update javac source/target from 1.6 to 1.8 for Java 17 compatibility
|
||||
- Resolves: RHEL-183542
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-32
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
Loading…
Reference in New Issue
Block a user