Rebase to upstream version 2.14.2

This commit is contained in:
Marco Fargetta 2023-11-21 11:23:12 +01:00 committed by root
parent 8afdfbcb38
commit 5aac42e4b4
4 changed files with 20 additions and 23 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
SOURCES/jackson-annotations-2.10.0-try-3.tar.gz SOURCES/jackson-annotations-2.10.0-try-3.tar.gz
/jackson-annotations-2.10.0-try-3.tar.gz /jackson-annotations-2.10.0-try-3.tar.gz
/jackson-annotations-2.14.2.tar.gz

View File

@ -0,0 +1 @@
1bff350bddefad037ceea37ef2cf1e87a0de9372 jackson-annotations-2.14.2.tar.gz

View File

@ -1,45 +1,40 @@
Name: jackson-annotations Name: jackson-annotations
Version: 2.10.0 Version: 2.14.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: Core annotations for Jackson data processor Summary: Core annotations for Jackson data processor
License: ASL 2.0 License: Apache-2.0
URL: https://github.com/FasterXML/jackson-annotations
# The upstream release of jackson-annotations @ 2.10.0 was botched a couple URL: https://github.com/FasterXML/jackson-annotations
# of times; this suffix is necessary to pull the latest, correct, non-SNAPSHOT Source0: %{url}/archive/%{name}-%{version}.tar.gz
# 2.10.0 release.
#
# See: https://github.com/FasterXML/jackson-annotations/releases
%global relsuffix -try-3
Source0: %{url}/archive/%{name}-%{version}%{relsuffix}.tar.gz
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.14
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch BuildArch: noarch
%if 0%{?fedora}
ExclusiveArch: %{java_arches} noarch
%endif
%description %description
Core annotations used for value types, Core annotations used for value types,
used by Jackson data-binding package. used by Jackson data-binding package.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains API documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{name}-%{version}%{relsuffix} %setup -q -n %{name}-%{name}-%{version}
%pom_remove_plugin "org.moditect:moditect-maven-plugin" %pom_remove_plugin "org.moditect:moditect-maven-plugin"
%pom_remove_plugin "org.sonatype.plugins:nexus-staging-maven-plugin"
%pom_remove_plugin "de.jjohannes:gradle-module-metadata-maven-plugin"
%pom_remove_plugin "org.codehaus.mojo:build-helper-maven-plugin"
sed -i 's/\r//' LICENSE sed -i 's/\r//' LICENSE
%mvn_file : %{name} %mvn_file : %{name}
%build %build
%mvn_build %mvn_build -f -j
%install %install
%mvn_install %mvn_install
@ -48,10 +43,10 @@ sed -i 's/\r//' LICENSE
%doc README.md release-notes/* %doc README.md release-notes/*
%license LICENSE %license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog %changelog
* Wed Nov 22 2023 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.14.2-1
- Rebase to upstream version 2.14.2
* Tue Nov 12 2019 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.10.0-1 * Tue Nov 12 2019 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.10.0-1
- Update to latest upstream release - Update to latest upstream release

View File

@ -1 +1 @@
SHA512 (jackson-annotations-2.10.0-try-3.tar.gz) = a5549fbfd98a4be1cc59761f54670b52c5efee6e9ad2e53bdbb454cbd8a96fb8e566e9f22818919c3538ec7e66e48cbde06f49c3b1aa95886f0a9b091a90a5b6 SHA512 (jackson-annotations-2.14.2.tar.gz) = d32ca3b1d8a89461044608b32f6a12a09d081194de044a90fc7d8579e960446048705e29a82ab4e92f0921b7b2f90fc7b91356bf6e3e4c4f38ba2865fb77bfa3