Add Obsoletes and Conflicts

Resolves: #1952530
This commit is contained in:
Endi S. Dewata 2021-04-28 13:17:09 -05:00
parent aa2d4fd942
commit 05c2f009be

View File

@ -2,7 +2,7 @@
Name: jackson-jaxrs-providers
Version: 2.11.4
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Jackson JAX-RS providers
License: ASL 2.0
@ -37,7 +37,9 @@ binary JSON), YAML.
%package -n pki-%{name}
Summary: Jackson JAX-RS providers
Provides: %{name}
Obsoletes: %{name} < %{version}-%{release}
Conflicts: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
%if %{with jp_minimal}
Obsoletes: jackson-jaxrs-cbor-provider < 2.10.0-1
@ -53,7 +55,9 @@ binary JSON), YAML.
%package -n pki-jackson-jaxrs-json-provider
Summary: Jackson-JAXRS-JSON
Provides: jackson-jaxrs-json-provider
Obsoletes: jackson-jaxrs-json-provider < %{version}-%{release}
Conflicts: jackson-jaxrs-json-provider < %{version}-%{release}
Provides: jackson-jaxrs-json-provider = %{version}-%{release}
%description -n pki-jackson-jaxrs-json-provider
Functionality to handle JSON input/output for JAX-RS implementations
@ -62,7 +66,9 @@ Functionality to handle JSON input/output for JAX-RS implementations
%if %{without jp_minimal}
%package -n pki-jackson-jaxrs-cbor-provider
Summary: Jackson-JAXRS-CBOR
Provides: jackson-jaxrs-cbor-provider
Obsoletes: jackson-jaxrs-cbor-provider < %{version}-%{release}
Conflicts: jackson-jaxrs-cbor-provider < %{version}-%{release}
Provides: jackson-jaxrs-cbor-provider = %{version}-%{release}
%description -n pki-jackson-jaxrs-cbor-provider
Functionality to handle CBOR encoded input/output for JAX-RS implementations
@ -70,7 +76,9 @@ Functionality to handle CBOR encoded input/output for JAX-RS implementations
%package -n pki-jackson-jaxrs-smile-provider
Summary: Jackson-JAXRS-Smile
Provides: jackson-jaxrs-smile-provider
Obsoletes: jackson-jaxrs-smile-provider < %{version}-%{release}
Conflicts: jackson-jaxrs-smile-provider < %{version}-%{release}
Provides: jackson-jaxrs-smile-provider = %{version}-%{release}
%description -n pki-jackson-jaxrs-smile-provider
Functionality to handle Smile (binary JSON) input/output for
@ -79,7 +87,9 @@ Jackson data binding.
%package -n pki-jackson-jaxrs-xml-provider
Summary: Jackson-JAXRS-XML
Provides: jackson-jaxrs-xml-provider
Obsoletes: jackson-jaxrs-xml-provider < %{version}-%{release}
Conflicts: jackson-jaxrs-xml-provider < %{version}-%{release}
Provides: jackson-jaxrs-xml-provider = %{version}-%{release}
%description -n pki-jackson-jaxrs-xml-provider
Functionality to handle Smile XML input/output for JAX-RS implementations
@ -87,7 +97,9 @@ Functionality to handle Smile XML input/output for JAX-RS implementations
%package -n pki-jackson-jaxrs-yaml-provider
Summary: Jackson-JAXRS-YAML
Provides: jackson-jaxrs-yaml-provider
Obsoletes: jackson-jaxrs-yaml-provider < %{version}-%{release}
Conflicts: jackson-jaxrs-yaml-provider < %{version}-%{release}
Provides: jackson-jaxrs-yaml-provider = %{version}-%{release}
%description -n pki-jackson-jaxrs-yaml-provider
Functionality to handle YAML input/output for JAX-RS implementations
@ -96,21 +108,27 @@ Functionality to handle YAML input/output for JAX-RS implementations
%package -n pki-%{name}-datatypes
Summary: Functionality for reading/writing core JAX-RS helper types
Provides: %{name}-datatypes
Obsoletes: %{name}-datatypes < %{version}-%{release}
Conflicts: %{name}-datatypes < %{version}-%{release}
Provides: %{name}-datatypes = %{version}-%{release}
%description -n pki-%{name}-datatypes
Functionality for reading/writing core JAX-RS helper types.
%package -n pki-%{name}-parent
Summary: Parent for Jackson JAX-RS providers
Provides: %{name}-parent
Obsoletes: %{name}-parent < %{version}-%{release}
Conflicts: %{name}-parent < %{version}-%{release}
Provides: %{name}-parent = %{version}-%{release}
%description -n pki-%{name}-parent
Parent POM for Jackson JAX-RS providers.
%package -n pki-%{name}-javadoc
Summary: Javadoc for %{name}
Provides: %{name}-javadoc
Obsoletes: %{name}-javadoc < %{version}-%{release}
Conflicts: %{name}-javadoc < %{version}-%{release}
Provides: %{name}-javadoc = %{version}-%{release}
%description -n pki-%{name}-javadoc
This package contains API documentation for %{name}.
@ -183,6 +201,9 @@ rm json/src/test/java/com/fasterxml/jackson/jaxrs/json/resteasy/RestEasyProvider
%license LICENSE NOTICE
%changelog
* Wed Apr 28 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.11.4-5
- Add Obsoletes and Conflicts
* Thu Apr 22 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.11.4-4
- Rename subpackages to pki-jackson