diff --git a/jackson-jaxrs-providers.spec b/jackson-jaxrs-providers.spec index 7c80f7d..3e80dba 100644 --- a/jackson-jaxrs-providers.spec +++ b/jackson-jaxrs-providers.spec @@ -1,12 +1,15 @@ -%bcond_with jp_minimal +%bcond_without jp_minimal Name: jackson-jaxrs-providers -Version: 2.9.8 -Release: 2%{?dist} +Version: 2.10.0 +Release: 1%{?dist} Summary: Jackson JAX-RS providers License: ASL 2.0 + URL: https://github.com/FasterXML/jackson-jaxrs-providers -Source0: https://github.com/FasterXML/jackson-jaxrs-providers/archive/%{name}-%{version}.tar.gz +Source0: %{url}/archive/%{name}-%{version}.tar.gz + +BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core) >= %{version} @@ -33,7 +36,12 @@ BuildRequires: mvn(org.glassfish.jersey.core:jersey-server) BuildRequires: mvn(org.jboss.resteasy:resteasy-jaxrs) %endif -BuildArch: noarch +%if %{with jp_minimal} +Obsoletes: jackson-jaxrs-cbor-provider < 2.10.0-1 +Obsoletes: jackson-jaxrs-smile-provider < 2.10.0-1 +Obsoletes: jackson-jaxrs-xml-provider < 2.10.0-1 +Obsoletes: jackson-jaxrs-yaml-provider < 2.10.0-1 +%endif %description This is a multi-module project that contains Jackson-based JAX-RS providers for @@ -103,6 +111,8 @@ cp -p xml/src/main/resources/META-INF/LICENSE . cp -p xml/src/main/resources/META-INF/NOTICE . sed -i 's/\r//' LICENSE NOTICE +%pom_remove_plugin -r :moditect-maven-plugin + # Disable jar with no-meta-inf-services classifier, breaks build %pom_remove_plugin :maven-jar-plugin cbor %pom_remove_plugin :maven-jar-plugin json @@ -162,6 +172,10 @@ rm json/src/test/java/com/fasterxml/jackson/jaxrs/json/resteasy/RestEasyProvider %license LICENSE NOTICE %changelog +* Sun Oct 27 2019 Fabio Valentini - 2.10.0-1 +- Update to version 2.10.0. +- Build with minimized dependencies. + * Thu Jul 25 2019 Fedora Release Engineering - 2.9.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 5c23ebd..7eeabcd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jackson-jaxrs-providers-2.9.8.tar.gz) = ddac87e6423524247102b3278dbd82ad7094c7dfed9370dcc57812af7a2f5031041a258ff5248dec68f87335ebc00b90ed70dbd69fc57ff7e828012dc7343ef7 +SHA512 (jackson-jaxrs-providers-2.10.0.tar.gz) = e83c9273a5d251f1ba31889c8df54ea4ade413b12db0ab79322ea19f62ebc511d875fbaf4c9c7c0556aba5d870ba98cd025e39b473e3b2ee3d8de7d11dc688f8