|
|
6b6a22 |
%bcond_with jp_minimal
|
|
|
6b6a22 |
|
|
|
6b6a22 |
Name: jackson-modules-base
|
|
|
620b56 |
Version: 2.14.1
|
|
|
620b56 |
Release: 2%{?dist}
|
|
|
6b6a22 |
Summary: Jackson modules: Base
|
|
|
620b56 |
License: Apache-2.0
|
|
|
6b6a22 |
|
|
|
6b6a22 |
URL: https://github.com/FasterXML/jackson-modules-base
|
|
|
6b6a22 |
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
|
|
620b56 |
Patch1: 0001-Expose-javax.security.auth-from-JDK-internals.patch
|
|
|
6b6a22 |
|
|
|
6b6a22 |
BuildRequires: maven-local
|
|
|
6b6a22 |
BuildRequires: mvn(cglib:cglib)
|
|
|
6b6a22 |
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations) >= %{version}
|
|
|
6b6a22 |
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core) >= %{version}
|
|
|
6b6a22 |
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) >= %{version}
|
|
|
6b6a22 |
BuildRequires: mvn(com.fasterxml.jackson:jackson-base:pom:) >= %{version}
|
|
|
6b6a22 |
BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer)
|
|
|
6b6a22 |
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
|
|
|
6b6a22 |
BuildRequires: mvn(javax.xml.bind:jaxb-api)
|
|
|
6b6a22 |
BuildRequires: mvn(junit:junit)
|
|
|
6b6a22 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
6b6a22 |
BuildRequires: mvn(org.mockito:mockito-all)
|
|
|
6b6a22 |
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
6b6a22 |
|
|
|
6b6a22 |
BuildArch: noarch
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%description
|
|
|
6b6a22 |
Jackson "base" modules: modules that build directly on databind,
|
|
|
6b6a22 |
and are not data-type, data format, or JAX-RS provider modules.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%package -n pki-%{name}
|
|
|
6b6a22 |
Summary: Jackson modules: Base
|
|
|
6b6a22 |
Obsoletes: %{name} < %{version}-%{release}
|
|
|
6b6a22 |
Conflicts: %{name} < %{version}-%{release}
|
|
|
6b6a22 |
Provides: %{name} = %{version}-%{release}
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%description -n pki-%{name}
|
|
|
6b6a22 |
Jackson "base" modules: modules that build directly on databind,
|
|
|
6b6a22 |
and are not data-type, data format, or JAX-RS provider modules.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%package -n pki-jackson-module-jaxb-annotations
|
|
|
6b6a22 |
Summary: Support for using JAXB annotations as an alternative to "native" Jackson annotations
|
|
|
6b6a22 |
Obsoletes: jackson-module-jaxb-annotations < %{version}-%{release}
|
|
|
6b6a22 |
Conflicts: jackson-module-jaxb-annotations < %{version}-%{release}
|
|
|
6b6a22 |
Provides: jackson-module-jaxb-annotations = %{version}-%{release}
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%description -n pki-jackson-module-jaxb-annotations
|
|
|
6b6a22 |
This Jackson extension module provides support for using JAXB (javax.xml.bind)
|
|
|
6b6a22 |
annotations as an alternative to native Jackson annotations. It is most often
|
|
|
6b6a22 |
used to make it easier to reuse existing data beans that used with JAXB
|
|
|
6b6a22 |
framework to read and write XML.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%prep
|
|
|
6b6a22 |
%setup -q -n %{name}-%{name}-%{version}
|
|
|
620b56 |
%patch1 -p1
|
|
|
6b6a22 |
|
|
|
620b56 |
%pom_remove_dep -r org.glassfish.jaxb:jaxb-runtime
|
|
|
620b56 |
%pom_remove_plugin "de.jjohannes:gradle-module-metadata-maven-plugin"
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# no need for Java 9 module stuff
|
|
|
6b6a22 |
%pom_remove_plugin -r :moditect-maven-plugin
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# move to "old" glassfish-jaxb-api artifactId
|
|
|
6b6a22 |
%pom_change_dep -r jakarta.xml.bind:jakarta.xml.bind-api javax.xml.bind:jaxb-api
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# Disable bundling of asm
|
|
|
6b6a22 |
%pom_remove_plugin ":maven-shade-plugin" afterburner mrbean paranamer
|
|
|
6b6a22 |
%pom_xpath_remove "pom:properties/pom:osgi.private" mrbean paranamer
|
|
|
6b6a22 |
|
|
|
6b6a22 |
sed -i 's/\r//' mrbean/src/main/resources/META-INF/{LICENSE,NOTICE}
|
|
|
6b6a22 |
cp -p mrbean/src/main/resources/META-INF/{LICENSE,NOTICE} .
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# Fix OSGi dependency
|
|
|
6b6a22 |
%pom_change_dep org.osgi:org.osgi.core org.osgi:osgi.core osgi
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# NoClassDefFoundError: net/sf/cglib/core/CodeGenerationException
|
|
|
6b6a22 |
%pom_add_dep cglib:cglib:3.2.4:test guice
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%pom_disable_module afterburner
|
|
|
6b6a22 |
%pom_disable_module guice
|
|
|
6b6a22 |
%pom_disable_module mrbean
|
|
|
6b6a22 |
%pom_disable_module osgi
|
|
|
6b6a22 |
%pom_disable_module paranamer
|
|
|
620b56 |
%pom_disable_module jakarta-xmlbind
|
|
|
620b56 |
%pom_disable_module blackbird
|
|
|
620b56 |
%pom_disable_module no-ctor-deser
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# Allow javax,activation to be optional
|
|
|
6b6a22 |
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" jaxb "
|
|
|
6b6a22 |
<configuration>
|
|
|
6b6a22 |
<instructions>
|
|
|
6b6a22 |
<Import-Package>javax.activation;resolution:=optional,*</Import-Package>
|
|
|
6b6a22 |
</instructions>
|
|
|
6b6a22 |
</configuration>"
|
|
|
6b6a22 |
|
|
|
6b6a22 |
# This test fails since mockito was upgraded to 2.x
|
|
|
6b6a22 |
rm osgi/src/test/java/com/fasterxml/jackson/module/osgi/InjectOsgiServiceTest.java
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%mvn_file ":{*}" jackson-modules/@1
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%build
|
|
|
6b6a22 |
%mvn_build -s -j
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%install
|
|
|
6b6a22 |
%mvn_install
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%files -n pki-%{name} -f .mfiles-jackson-modules-base
|
|
|
6b6a22 |
%doc README.md release-notes
|
|
|
6b6a22 |
%license LICENSE NOTICE
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%files -n pki-jackson-module-jaxb-annotations -f .mfiles-jackson-module-jaxb-annotations
|
|
|
6b6a22 |
%doc jaxb/README.md jaxb/release-notes
|
|
|
6b6a22 |
%license LICENSE NOTICE
|
|
|
6b6a22 |
|
|
|
6b6a22 |
%changelog
|
|
|
620b56 |
* Wed Nov 23 2022 Chris Kelley <ckelley@redhat.com> - 2.14.1-1
|
|
|
620b56 |
- Update to version 2.14.1
|
|
|
620b56 |
- Resolves: #2070122
|
|
|
620b56 |
|
|
|
6b6a22 |
* Wed Sep 22 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.11.4-8
|
|
|
6b6a22 |
- Drop jaxb-runtime dependency
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.11.4-7
|
|
|
6b6a22 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
6b6a22 |
Related: rhbz#1991688
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri May 21 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.11.4-6
|
|
|
6b6a22 |
- Drop jackson-module-afterburner, jackson-module-guice, jackson-module-mrbean,
|
|
|
6b6a22 |
jackson-module-osgi, jackson-module-paranamer, and jackson-module-javadoc
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Apr 28 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.11.4-5
|
|
|
6b6a22 |
- Add Obsoletes and Conflicts
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Apr 23 2021 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.11.4-4
|
|
|
6b6a22 |
- Rename subpackages to pki-jackson
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.11.4-3
|
|
|
6b6a22 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-2
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Mon Jan 18 2021 Fabio Valentini <decathorpe@gmail.com> - 2.11.4-1
|
|
|
6b6a22 |
- Update to version 2.11.4.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Oct 14 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.3-1
|
|
|
6b6a22 |
- Update to version 2.11.3.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Sat Aug 08 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.2-1
|
|
|
6b6a22 |
- Update to version 2.11.2.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-3
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 2.11.1-2
|
|
|
6b6a22 |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Mon Jul 06 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.1-1
|
|
|
6b6a22 |
- Update to version 2.11.1.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Mon May 25 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.0-1
|
|
|
6b6a22 |
- Update to version 2.11.0.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 2.10.4-1
|
|
|
6b6a22 |
- Update to version 2.10.4.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Mar 03 2020 Fabio Valentini <decathorpe@gmail.com> - 2.10.3-1
|
|
|
6b6a22 |
- Update to version 2.10.3.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-2
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Jan 17 2020 Fabio Valentini <decathorpe@gmail.com> - 2.10.2-1
|
|
|
6b6a22 |
- Update to version 2.10.2.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Nov 13 2019 Fabio Valentini <decathorpe@gmail.com> - 2.10.1-1
|
|
|
6b6a22 |
- Update to version 2.10.1.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Oct 08 2019 Fabio Valentini <decathorpe@gmail.com> - 2.10.0-1
|
|
|
6b6a22 |
- Update to version 2.10.0.
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-3
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Sun Mar 17 2019 Mat Booth <mat.booth@redhat.com> - 2.9.8-2
|
|
|
6b6a22 |
- Make the OSGi dep on javax.activation optional
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Feb 06 2019 Mat Booth <mat.booth@redhat.com> - 2.9.8-1
|
|
|
6b6a22 |
- Update to latest upstream release
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-6
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Jan 11 2019 Mat Booth <mat.booth@redhat.com> - 2.9.4-5
|
|
|
6b6a22 |
- Avoid running test that fails since Mockito 2.x
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Aug 22 2018 Mat Booth <mat.booth@redhat.com> - 2.9.4-4
|
|
|
6b6a22 |
- Allow conditional building of some extra modules
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-3
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-2
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Jan 24 2018 Mat Booth <mat.booth@redhat.com> - 2.9.4-1
|
|
|
6b6a22 |
- Update to latest upstream release
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Jan 23 2018 Mat Booth <mat.booth@redhat.com> - 2.9.3-2
|
|
|
6b6a22 |
- Properly obsolete jackson-module-jaxb-annotations-javadoc package
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Jan 23 2018 Mat Booth <mat.booth@redhat.com> - 2.9.3-1
|
|
|
6b6a22 |
- Update to latest upstream release
|
|
|
6b6a22 |
- Obsoletes standalone jaxb-annotations package now provided by this package
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6-4
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6-3
|
|
|
6b6a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Tue Sep 20 2016 gil cattaneo <puntogil@libero.it> 2.7.6-2
|
|
|
6b6a22 |
- fix some rpmlint problems
|
|
|
6b6a22 |
|
|
|
6b6a22 |
* Mon Aug 22 2016 gil cattaneo <puntogil@libero.it> 2.7.6-1
|
|
|
6b6a22 |
- initial rpm
|
|
|
6b6a22 |
|