diff --git a/.gitignore b/.gitignore index cd1c751..24552dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ SOURCES/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 diff --git a/.jackson-annotations.metadata b/.jackson-annotations.metadata new file mode 100644 index 0000000..6ea1d93 --- /dev/null +++ b/.jackson-annotations.metadata @@ -0,0 +1 @@ +1bff350bddefad037ceea37ef2cf1e87a0de9372 jackson-annotations-2.14.2.tar.gz diff --git a/jackson-annotations.spec b/jackson-annotations.spec index a697f45..b35f6e3 100644 --- a/jackson-annotations.spec +++ b/jackson-annotations.spec @@ -1,45 +1,40 @@ Name: jackson-annotations -Version: 2.10.0 +Version: 2.14.2 Release: 1%{?dist} Summary: Core annotations for Jackson data processor -License: ASL 2.0 -URL: https://github.com/FasterXML/jackson-annotations +License: Apache-2.0 -# The upstream release of jackson-annotations @ 2.10.0 was botched a couple -# of times; this suffix is necessary to pull the latest, correct, non-SNAPSHOT -# 2.10.0 release. -# -# See: https://github.com/FasterXML/jackson-annotations/releases -%global relsuffix -try-3 -Source0: %{url}/archive/%{name}-%{version}%{relsuffix}.tar.gz +URL: https://github.com/FasterXML/jackson-annotations +Source0: %{url}/archive/%{name}-%{version}.tar.gz 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(org.apache.felix:maven-bundle-plugin) BuildArch: noarch +%if 0%{?fedora} +ExclusiveArch: %{java_arches} noarch +%endif %description Core annotations used for value types, used by Jackson data-binding package. -%package javadoc -Summary: Javadoc for %{name} - -%description javadoc -This package contains API documentation for %{name}. - %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.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 %mvn_file : %{name} %build -%mvn_build +%mvn_build -f -j %install %mvn_install @@ -48,10 +43,10 @@ sed -i 's/\r//' LICENSE %doc README.md release-notes/* %license LICENSE -%files javadoc -f .mfiles-javadoc -%license LICENSE - %changelog +* Wed Nov 22 2023 Red Hat PKI Team - 2.14.2-1 +- Rebase to upstream version 2.14.2 + * Tue Nov 12 2019 Red Hat PKI Team - 2.10.0-1 - Update to latest upstream release diff --git a/sources b/sources index 8ce9a7c..d9dbff4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jackson-annotations-2.10.0-try-3.tar.gz) = a5549fbfd98a4be1cc59761f54670b52c5efee6e9ad2e53bdbb454cbd8a96fb8e566e9f22818919c3538ec7e66e48cbde06f49c3b1aa95886f0a9b091a90a5b6 +SHA512 (jackson-annotations-2.14.2.tar.gz) = d32ca3b1d8a89461044608b32f6a12a09d081194de044a90fc7d8579e960446048705e29a82ab4e92f0921b7b2f90fc7b91356bf6e3e4c4f38ba2865fb77bfa3