Rename subpackages to pki-jackson

Resolves: #1952530
This commit is contained in:
Endi S. Dewata 2021-04-28 09:24:03 -05:00
parent 1ba585f087
commit 9583b0866d

View File

@ -1,6 +1,6 @@
Name: jackson-databind
Version: 2.11.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: General data-binding package for Jackson (2.x)
License: ASL 2.0 and LGPLv2+
@ -22,10 +22,24 @@ The general-purpose data-binding functionality and tree-model for Jackson Data
Processor. It builds on core streaming parser/generator package, and uses
Jackson Annotations for configuration.
%package javadoc
Summary: Javadoc for %{name}
%package -n pki-%{name}
Summary: General data-binding package for Jackson (2.x)
Obsoletes: %{name} < %{version}-%{release}
Conflicts: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
%description javadoc
%description -n pki-%{name}
The general-purpose data-binding functionality and tree-model for Jackson Data
Processor. It builds on core streaming parser/generator package, and uses
Jackson Annotations for configuration.
%package -n pki-%{name}-javadoc
Summary: Javadoc for %{name}
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}.
%prep
@ -64,14 +78,17 @@ rm src/test/java/com/fasterxml/jackson/databind/ser/jdk/JDKTypeSerializationTest
%install
%mvn_install
%files -f .mfiles
%files -n pki-%{name} -f .mfiles
%doc README.md release-notes/*
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%files -n pki-%{name}-javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Wed Apr 28 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