Rename subpackages to pki-jackson

Resolves: #1952530
This commit is contained in:
Endi S. Dewata 2021-04-22 22:54:21 -05:00
parent a8f9c45c80
commit aa2d4fd942

View File

@ -2,7 +2,7 @@
Name: jackson-jaxrs-providers
Version: 2.11.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Jackson JAX-RS providers
License: ASL 2.0
@ -30,6 +30,15 @@ BuildRequires: mvn(org.glassfish.jersey.core:jersey-server)
BuildRequires: mvn(org.jboss.resteasy:resteasy-jaxrs)
%endif
%description
This is a multi-module project that contains Jackson-based JAX-RS providers for
following data formats: JSON, Smile (binary JSON), XML, CBOR (another kind of
binary JSON), YAML.
%package -n pki-%{name}
Summary: Jackson JAX-RS providers
Provides: %{name}
%if %{with jp_minimal}
Obsoletes: jackson-jaxrs-cbor-provider < 2.10.0-1
Obsoletes: jackson-jaxrs-smile-provider < 2.10.0-1
@ -37,65 +46,73 @@ Obsoletes: jackson-jaxrs-xml-provider < 2.10.0-1
Obsoletes: jackson-jaxrs-yaml-provider < 2.10.0-1
%endif
%description
%description -n pki-%{name}
This is a multi-module project that contains Jackson-based JAX-RS providers for
following data formats: JSON, Smile (binary JSON), XML, CBOR (another kind of
binary JSON), YAML.
%package -n jackson-jaxrs-json-provider
%package -n pki-jackson-jaxrs-json-provider
Summary: Jackson-JAXRS-JSON
Provides: jackson-jaxrs-json-provider
%description -n jackson-jaxrs-json-provider
%description -n pki-jackson-jaxrs-json-provider
Functionality to handle JSON input/output for JAX-RS implementations
(like Jersey and RESTeasy) using standard Jackson data binding.
%if %{without jp_minimal}
%package -n jackson-jaxrs-cbor-provider
%package -n pki-jackson-jaxrs-cbor-provider
Summary: Jackson-JAXRS-CBOR
Provides: jackson-jaxrs-cbor-provider
%description -n jackson-jaxrs-cbor-provider
%description -n pki-jackson-jaxrs-cbor-provider
Functionality to handle CBOR encoded input/output for JAX-RS implementations
(like Jersey and RESTeasy) using standard Jackson data binding.
%package -n jackson-jaxrs-smile-provider
%package -n pki-jackson-jaxrs-smile-provider
Summary: Jackson-JAXRS-Smile
Provides: jackson-jaxrs-smile-provider
%description -n jackson-jaxrs-smile-provider
%description -n pki-jackson-jaxrs-smile-provider
Functionality to handle Smile (binary JSON) input/output for
JAX-RS implementations (like Jersey and RESTeasy) using standard
Jackson data binding.
%package -n jackson-jaxrs-xml-provider
%package -n pki-jackson-jaxrs-xml-provider
Summary: Jackson-JAXRS-XML
Provides: jackson-jaxrs-xml-provider
%description -n jackson-jaxrs-xml-provider
%description -n pki-jackson-jaxrs-xml-provider
Functionality to handle Smile XML input/output for JAX-RS implementations
(like Jersey and RESTeasy) using standard Jackson data binding.
%package -n jackson-jaxrs-yaml-provider
%package -n pki-jackson-jaxrs-yaml-provider
Summary: Jackson-JAXRS-YAML
Provides: jackson-jaxrs-yaml-provider
%description -n jackson-jaxrs-yaml-provider
%description -n pki-jackson-jaxrs-yaml-provider
Functionality to handle YAML input/output for JAX-RS implementations
(like Jersey and RESTeasy) using standard Jackson data binding.
%endif
%package datatypes
%package -n pki-%{name}-datatypes
Summary: Functionality for reading/writing core JAX-RS helper types
Provides: %{name}-datatypes
%description datatypes
%description -n pki-%{name}-datatypes
Functionality for reading/writing core JAX-RS helper types.
%package parent
%package -n pki-%{name}-parent
Summary: Parent for Jackson JAX-RS providers
Provides: %{name}-parent
%description parent
%description -n pki-%{name}-parent
Parent POM for Jackson JAX-RS providers.
%package javadoc
%package -n pki-%{name}-javadoc
Summary: Javadoc for %{name}
Provides: %{name}-javadoc
%description javadoc
%description -n pki-%{name}-javadoc
This package contains API documentation for %{name}.
%prep
@ -144,28 +161,31 @@ rm json/src/test/java/com/fasterxml/jackson/jaxrs/json/resteasy/RestEasyProvider
%install
%mvn_install
%files -f .mfiles-jackson-jaxrs-base
%files -n pki-%{name} -f .mfiles-jackson-jaxrs-base
%doc README.md release-notes/*
%license LICENSE NOTICE
%files -n jackson-jaxrs-json-provider -f .mfiles-jackson-jaxrs-json-provider
%files -n pki-jackson-jaxrs-json-provider -f .mfiles-jackson-jaxrs-json-provider
%if %{without jp_minimal}
%files -n jackson-jaxrs-cbor-provider -f .mfiles-jackson-jaxrs-cbor-provider
%files -n jackson-jaxrs-smile-provider -f .mfiles-jackson-jaxrs-smile-provider
%files -n jackson-jaxrs-xml-provider -f .mfiles-jackson-jaxrs-xml-provider
%files -n jackson-jaxrs-yaml-provider -f .mfiles-jackson-jaxrs-yaml-provider
%files -n pki-jackson-jaxrs-cbor-provider -f .mfiles-jackson-jaxrs-cbor-provider
%files -n pki-jackson-jaxrs-smile-provider -f .mfiles-jackson-jaxrs-smile-provider
%files -n pki-jackson-jaxrs-xml-provider -f .mfiles-jackson-jaxrs-xml-provider
%files -n pki-jackson-jaxrs-yaml-provider -f .mfiles-jackson-jaxrs-yaml-provider
%endif
%files datatypes -f .mfiles-jackson-datatype-jaxrs
%files -n pki-%{name}-datatypes -f .mfiles-jackson-datatype-jaxrs
%license LICENSE NOTICE
%files parent -f .mfiles-jackson-jaxrs-providers
%files -n pki-%{name}-parent -f .mfiles-jackson-jaxrs-providers
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%files -n pki-%{name}-javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Thu Apr 22 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
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937