From faacd75f3ff9a35599d98ac1a1d822636b908f23 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 23 Apr 2021 14:32:59 -0500 Subject: [PATCH] Rename subpackages to pki-jackson Resolves: #1952530 --- jackson-modules-base.spec | 66 +++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 24 deletions(-) diff --git a/jackson-modules-base.spec b/jackson-modules-base.spec index 87b2f34..5b1a7d0 100644 --- a/jackson-modules-base.spec +++ b/jackson-modules-base.spec @@ -2,7 +2,7 @@ Name: jackson-modules-base Version: 2.11.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Jackson modules: Base License: ASL 2.0 @@ -35,65 +35,80 @@ BuildArch: noarch Jackson "base" modules: modules that build directly on databind, and are not data-type, data format, or JAX-RS provider modules. -%package -n jackson-module-afterburner -Summary: Jackson module that uses byte-code generation to further speed up data binding +%package -n pki-%{name} +Summary: Jackson modules: Base +Provides: %{name} -%description -n jackson-module-afterburner +%description -n pki-%{name} +Jackson "base" modules: modules that build directly on databind, +and are not data-type, data format, or JAX-RS provider modules. + +%package -n pki-jackson-module-afterburner +Summary: Jackson module that uses byte-code generation to further speed up data binding +Provides: jackson-module-afterburner + +%description -n pki-jackson-module-afterburner Module that will add dynamic bytecode generation for standard Jackson POJO serializers and deserializers, eliminating majority of remaining data binding overhead. -%package -n jackson-module-guice +%package -n pki-jackson-module-guice Summary: Jackson module to make integration with Guice a bit easier +Provides: jackson-module-guice -%description -n jackson-module-guice +%description -n pki-jackson-module-guice This extension allows Jackson to delegate ObjectMapper creation and value injection to Guice when handling data bindings. -%package -n jackson-module-jaxb-annotations +%package -n pki-jackson-module-jaxb-annotations Summary: Support for using JAXB annotations as an alternative to "native" Jackson annotations +Provides: jackson-module-jaxb-annotations -%description -n jackson-module-jaxb-annotations +%description -n pki-jackson-module-jaxb-annotations This Jackson extension module provides support for using JAXB (javax.xml.bind) annotations as an alternative to native Jackson annotations. It is most often used to make it easier to reuse existing data beans that used with JAXB framework to read and write XML. %if %{without jp_minimal} -%package -n jackson-module-mrbean +%package -n pki-jackson-module-mrbean Summary: Functionality for implementing interfaces and abstract types dynamically +Provides: jackson-module-mrbean -%description -n jackson-module-mrbean +%description -n pki-jackson-module-mrbean Mr Bean is an extension that implements support for "POJO type materialization" ability for databinder to construct implementation classes for Java interfaces and abstract classes, as part of deserialization. %endif -%package -n jackson-module-osgi +%package -n pki-jackson-module-osgi Summary: Jackson module to inject OSGI services in deserialized beans +Provides: jackson-module-osgi -%description -n jackson-module-osgi +%description -n pki-jackson-module-osgi This module provides a way to inject OSGI services into deserialized objects. Thanks to the JacksonInject annotations, the OsgiJacksonModule will search for the required service in the OSGI service registry and injects it in the object while deserializing. %if %{without jp_minimal} -%package -n jackson-module-paranamer +%package -n pki-jackson-module-paranamer Summary: Jackson module that uses Paranamer to introspect names of constructor params +Provides: jackson-module-paranamer -%description -n jackson-module-paranamer +%description -n pki-jackson-module-paranamer Module that uses Paranamer library to auto-detect names of Creator (constructor, static factory method, annotated with @JsonCreator) methods. %endif -%package javadoc +%package -n pki-%{name}-javadoc Summary: Javadoc for %{name} +Provides: %{name}-javadoc # Obsoletes standalone jackson-module-jaxb-annotations since F28 Obsoletes: jackson-module-jaxb-annotations-javadoc < %{version}-%{release} Provides: jackson-module-jaxb-annotations-javadoc = %{version}-%{release} -%description javadoc +%description -n pki-%{name}-javadoc This package contains API documentation for %{name}. %prep @@ -143,42 +158,45 @@ rm osgi/src/test/java/com/fasterxml/jackson/module/osgi/InjectOsgiServiceTest.ja %install %mvn_install -%files -f .mfiles-jackson-modules-base +%files -n pki-%{name} -f .mfiles-jackson-modules-base %doc README.md release-notes %license LICENSE NOTICE -%files -n jackson-module-afterburner -f .mfiles-jackson-module-afterburner +%files -n pki-jackson-module-afterburner -f .mfiles-jackson-module-afterburner %doc afterburner/README.md afterburner/release-notes %license LICENSE NOTICE -%files -n jackson-module-guice -f .mfiles-jackson-module-guice +%files -n pki-jackson-module-guice -f .mfiles-jackson-module-guice %doc guice/README.md %license LICENSE NOTICE -%files -n jackson-module-jaxb-annotations -f .mfiles-jackson-module-jaxb-annotations +%files -n pki-jackson-module-jaxb-annotations -f .mfiles-jackson-module-jaxb-annotations %doc jaxb/README.md jaxb/release-notes %license LICENSE NOTICE %if %{without jp_minimal} -%files -n jackson-module-mrbean -f .mfiles-jackson-module-mrbean +%files -n pki-jackson-module-mrbean -f .mfiles-jackson-module-mrbean %doc mrbean/README.md mrbean/release-notes %license LICENSE NOTICE %endif -%files -n jackson-module-osgi -f .mfiles-jackson-module-osgi +%files -n pki-jackson-module-osgi -f .mfiles-jackson-module-osgi %doc osgi/README.md osgi/release-notes %license LICENSE NOTICE %if %{without jp_minimal} -%files -n jackson-module-paranamer -f .mfiles-jackson-module-paranamer +%files -n pki-jackson-module-paranamer -f .mfiles-jackson-module-paranamer %doc paranamer/README.md paranamer/release-notes %license LICENSE NOTICE %endif -%files javadoc -f .mfiles-javadoc +%files -n pki-%{name}-javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog +* Fri Apr 23 2021 Red Hat PKI Team - 2.11.4-4 +- Rename subpackages to pki-jackson + * Fri Apr 16 2021 Mohan Boddu - 2.11.4-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937