From e0035489f35876dee79a7eb17f720216ccb49fe0 Mon Sep 17 00:00:00 2001 From: RHEL Packaging Agent Date: Wed, 1 Jul 2026 06:37:46 +0000 Subject: [PATCH] Update libfonts for Java 17 compatibility and SPDX license migration Bump javac source/target from 1.6 to 1.8 in the Java 11 compatibility patch to enable building with Java 17. Migrate the License field to SPDX format (LGPL-2.1-only AND Unicode-DFS-2016). Switch to a repacked source tarball with updated unicode encoding data files that have clearer licensing, and add repacking instructions as comments in the spec file. Upstream patches: - https://src.fedoraproject.org/rpms/libfonts/c/c03c8edaa16e63b336b162b2868f8f8f1f5d24c2.patch - https://src.fedoraproject.org/rpms/libfonts/c/102bd2beddd474e4b3f8dabafa68c439007a18be.patch Resolves: RHEL-183541 This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent. Assisted-by: Ymir --- .gitignore | 1 + libfonts-1.1.2.java11.patch | 4 ++-- libfonts.spec | 19 +++++++++++++++---- sources | 2 +- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 351a275..83581f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libfonts-1.1.3-jars-itextpatch-deleted.zip +/libfonts-1.1.3-jars-itextpatch_deleted-encodings_updated.zip diff --git a/libfonts-1.1.2.java11.patch b/libfonts-1.1.2.java11.patch index 5aae626..77d20f3 100644 --- a/libfonts-1.1.2.java11.patch +++ b/libfonts-1.1.2.java11.patch @@ -6,8 +6,8 @@ description="Indicates whether source should be compiled with deprecation information" /> - - -+ -+ ++ ++ = 1.1.3 Requires: java-headless, jpackage-utils, libloader >= 1.1.3 @@ -61,6 +66,12 @@ cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name} %{_javadocdir}/%{name} %changelog +* Wed Jul 01 2026 RHEL Packaging Agent - 1.1.3-36 +- Bump javac source/target from 1.6 to 1.8 for Java 17 compatibility +- Migrate License to SPDX format (LGPL-2.1-only AND Unicode-DFS-2016) +- Use repacked source tarball with updated unicode encoding data files +- Resolves: RHEL-183541 + * Mon Aug 09 2021 Mohan Boddu - 1.1.3-35 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 diff --git a/sources b/sources index cd0df2a..3e93cc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libfonts-1.1.3-jars-itextpatch-deleted.zip) = 0233b5843ef109de08c86d613d769ed8e8ba4afb8a660336ccdf983720641f5aaf39c29cfa522249a6d0a268f6b65a57f51cb93ab4c9043e0785fb46946917fe +SHA512 (libfonts-1.1.3-jars-itextpatch_deleted-encodings_updated.zip) = 35d389f859dd912db9820e90c1b6d815fd44fc4c32d560e3971178ba36dc323b67b4f5fa74cbe179e2c99b613f5feddd433c8f32b392bcccddf06c4c23364362