Rename subpackages to pki-jackson

Resolves: #1952530
This commit is contained in:
Endi S. Dewata 2021-04-23 14:32:59 -05:00
parent 7f20a2e5e1
commit faacd75f3f

View File

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