From 0e6dc15cdf63d5bcc81e2cda862cda2a600f656c Mon Sep 17 00:00:00 2001 From: Marco Fargetta Date: Wed, 16 Jul 2025 16:37:46 +0200 Subject: [PATCH] Rebase to jackson-databind 2.19.1 Resolves: RHEL-100233 --- jackson-databind.spec | 25 ++++++++++++++++--------- sources | 2 +- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/jackson-databind.spec b/jackson-databind.spec index 50cc335..979d37e 100644 --- a/jackson-databind.spec +++ b/jackson-databind.spec @@ -1,6 +1,6 @@ Name: jackson-databind -Version: 2.14.1 -Release: 2%{?dist} +Version: 2.19.1 +Release: 1%{?dist} Summary: General data-binding package for Jackson (2.x) License: Apache-2.0 and LGPL-2.0-or-later @@ -16,6 +16,9 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.mockito:mockito-core) BuildArch: noarch +%if 0%{?fedora} || 0%{?rhel} >= 10 +ExclusiveArch: %{java_arches} noarch +%endif %description The general-purpose data-binding functionality and tree-model for Jackson Data @@ -40,7 +43,13 @@ Jackson Annotations for configuration. %pom_remove_plugin ":maven-enforcer-plugin" %pom_remove_plugin "org.jacoco:jacoco-maven-plugin" %pom_remove_plugin "org.moditect:moditect-maven-plugin" -%pom_remove_plugin "de.jjohannes:gradle-module-metadata-maven-plugin" +%pom_remove_plugin "org.codehaus.mojo:animal-sniffer-maven-plugin" +%pom_remove_plugin "org.gradlex:gradle-module-metadata-maven-plugin" + +%pom_xpath_set "//pom:javac.src.version" "1.8" +%pom_xpath_set "//pom:javac.target.version" "1.8" +%pom_xpath_inject "//pom:properties" " 1.8" +%pom_xpath_inject "//pom:properties" " 1.8" cp -p src/main/resources/META-INF/NOTICE . sed -i 's/\r//' LICENSE NOTICE @@ -53,12 +62,6 @@ rm src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkar # TestTypeFactoryWithClassLoader fails to compile # - it's the only test that uses powermock, so drop the powermock dependencies # - mockito is only transitively pulled in by powermock, so add it back -%pom_remove_dep org.powermock: -%pom_add_dep org.mockito:mockito-core::test -rm src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java - -# Off test that require connection with the web -rm src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java %mvn_file : %{name} @@ -73,6 +76,10 @@ rm src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java %license LICENSE NOTICE %changelog +* Wed Jul 16 2025 Red Hat PKI Team - 2.19.1-1 +- Update to version 2.19.1 +- Resolves: RHEL-100233 + * Wed Nov 23 2022 Chris Kelley - 2.14.1-1 - Update to version 2.14.1 - Resolves: #2070122 diff --git a/sources b/sources index c49c9fe..e6f5fe6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jackson-databind-2.14.1.tar.gz) = 723f66681a77cbb290189d27b3afffe188e16514610b304efc64fb824b32eb48eda98e3ed25d53a427a0c2d762d95488ce569088211809a08638a7c25cdd5179 +SHA512 (jackson-databind-2.19.1.tar.gz) = 83446b49219a66edf579b63404f5476de2787c7f9f7ed387f49080339d625d3868482db7d61f430289381817b226a48b64e9fbfca9b0c4c27d1f58d53c6e3686