Drop jackson-module-paranamer

This commit is contained in:
Endi S. Dewata 2021-05-20 14:44:19 -05:00
parent 3fb58b1378
commit 5247b17d15

View File

@ -2,7 +2,7 @@
Name: jackson-modules-base
Version: 2.11.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Jackson modules: Base
License: ASL 2.0
@ -17,9 +17,6 @@ BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) >= %{version}
BuildRequires: mvn(com.fasterxml.jackson:jackson-base:pom:) >= %{version}
BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer)
BuildRequires: mvn(com.google.inject:guice)
%if %{without jp_minimal}
BuildRequires: mvn(com.thoughtworks.paranamer:paranamer)
%endif
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
BuildRequires: mvn(javax.xml.bind:jaxb-api)
BuildRequires: mvn(junit:junit)
@ -78,15 +75,6 @@ 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
Summary: Jackson module that uses Paranamer to introspect names of constructor params
%description -n 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
Summary: Javadoc for %{name}
# Obsoletes standalone jackson-module-jaxb-annotations since F28
@ -118,9 +106,9 @@ cp -p mrbean/src/main/resources/META-INF/{LICENSE,NOTICE} .
# NoClassDefFoundError: net/sf/cglib/core/CodeGenerationException
%pom_add_dep cglib:cglib:3.2.4:test guice
%pom_disable_module paranamer
%if %{with jp_minimal}
# Disable modules with additional deps
%pom_disable_module paranamer
%pom_disable_module mrbean
%endif
@ -169,16 +157,13 @@ rm osgi/src/test/java/com/fasterxml/jackson/module/osgi/InjectOsgiServiceTest.ja
%doc osgi/README.md osgi/release-notes
%license LICENSE NOTICE
%if %{without jp_minimal}
%files -n jackson-module-paranamer -f .mfiles-jackson-module-paranamer
%doc paranamer/README.md paranamer/release-notes
%license LICENSE NOTICE
%endif
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Thu May 20 2021 Dogtag PKI Team <pki-devel@redhat.com> - 2.11.4-3
- Drop jackson-module-paranamer
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild