From af9722c86c925ffc212dd98a838bd3e775f30b8e Mon Sep 17 00:00:00 2001 From: Chris Kelley Date: Fri, 10 Dec 2021 14:23:14 +0000 Subject: [PATCH] Change compilation source/target to Java 11 --- jackson-annotations.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jackson-annotations.spec b/jackson-annotations.spec index 01b98ab..078f836 100644 --- a/jackson-annotations.spec +++ b/jackson-annotations.spec @@ -1,12 +1,12 @@ Name: jackson-annotations Version: 2.11.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Core annotations for Jackson data processor License: ASL 2.0 URL: https://github.com/FasterXML/jackson-annotations Source0: %{url}/archive/%{name}-%{version}.tar.gz - +Patch1: 0001-Change-compilation-source-target-to-Java-11.patch BuildRequires: maven-local BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.11 BuildRequires: mvn(junit:junit) @@ -26,6 +26,7 @@ This package contains API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} +%patch1 -p1 %pom_remove_plugin "org.moditect:moditect-maven-plugin" %pom_remove_plugin "org.sonatype.plugins:nexus-staging-maven-plugin" @@ -48,6 +49,9 @@ sed -i 's/\r//' LICENSE %license LICENSE %changelog +* Mon Dec 06 2021 Dogtag PKI Team - 2.11.4-4 +- Drop Java 1.6 support, compile with Java 11 + * Thu Jul 22 2021 Fedora Release Engineering - 2.11.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild