Change compilation source/target to Java 11

This commit is contained in:
Chris Kelley 2021-12-10 14:23:14 +00:00
parent c1c11045f3
commit af9722c86c

View File

@ -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 <pki-devel@redhat.com> - 2.11.4-4
- Drop Java 1.6 support, compile with Java 11
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild