27385b2
Name:           jackson-databind
e95de74
Version:        2.15.2
8bb6e25
Release:        2%{?dist}
27385b2
Summary:        General data-binding package for Jackson (2.x)
6f11966
License:        Apache-2.0 and LGPL-2.0-or-later
2a502f4
27385b2
URL:            https://github.com/FasterXML/jackson-databind
27385b2
Source0:        %{url}/archive/%{name}-%{version}.tar.gz
dae9cfa
f5bc93f
BuildRequires:  maven-local
Alexander Scheel 0a67c3c
BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-annotations) >= %{version}
Alexander Scheel 0a67c3c
BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-core) >= %{version}
Alexander Scheel 0a67c3c
BuildRequires:  mvn(com.fasterxml.jackson:jackson-base:pom:) >= %{version}
f5bc93f
BuildRequires:  mvn(com.google.code.maven-replacer-plugin:replacer)
e95de74
Buildrequires:  mvn(junit:junit)
f5bc93f
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
af01e08
BuildRequires:  mvn(org.mockito:mockito-core)
e1213e3
f5bc93f
BuildArch:      noarch
75dfb16
%if 0%{?fedora}
626a836
ExclusiveArch:  %{java_arches} noarch
75dfb16
%endif
e1213e3
e1213e3
%description
7e6c4a6
The general-purpose data-binding functionality and tree-model for Jackson Data
7e6c4a6
Processor. It builds on core streaming parser/generator package, and uses
7e6c4a6
Jackson Annotations for configuration.
e1213e3
e1213e3
%prep
e1213e3
%setup -q -n %{name}-%{name}-%{version}
f5bc93f
f5bc93f
# Remove plugins unnecessary for RPM builds
f5bc93f
%pom_remove_plugin ":maven-enforcer-plugin"
Alexander Scheel 0a67c3c
%pom_remove_plugin "org.jacoco:jacoco-maven-plugin"
Alexander Scheel 0a67c3c
%pom_remove_plugin "org.moditect:moditect-maven-plugin"
05694fb
%pom_remove_plugin "de.jjohannes:gradle-module-metadata-maven-plugin"
e1213e3
e95de74
%pom_change_dep org.junit:junit-bom junit:junit
e95de74
e11878e
cp -p src/main/resources/META-INF/NOTICE .
e11878e
sed -i 's/\r//' LICENSE NOTICE
e1213e3
e1213e3
# unavailable test deps
b2eab3e
%pom_remove_dep javax.measure:jsr-275
dae9cfa
rm src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkaroundTest.java
dae9cfa
%pom_xpath_remove pom:classpathDependencyExcludes
dae9cfa
af01e08
# TestTypeFactoryWithClassLoader fails to compile
af01e08
# - it's the only test that uses powermock, so drop the powermock dependencies
af01e08
# - mockito is only transitively pulled in by powermock, so add it back
af01e08
%pom_remove_dep org.powermock:
af01e08
%pom_add_dep org.mockito:mockito-core::test
dae9cfa
rm src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java
b2eab3e
e1213e3
# Off test that require connection with the web
1c0c3ae
rm src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java
e1213e3
b2eab3e
%mvn_file : %{name}
b2eab3e
e1213e3
%build
33b21fd
%mvn_build -f -j -- -Dmaven.test.failure.ignore=true
e1213e3
e1213e3
%install
e1213e3
%mvn_install
e1213e3
e1213e3
%files -f .mfiles
b2eab3e
%doc README.md release-notes/*
b2eab3e
%license LICENSE NOTICE
e1213e3
e1213e3
%changelog
8bb6e25
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.2-2
8bb6e25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
8bb6e25
e95de74
* Mon Jun 19 2023 Chris Kelley <ckelley@redhat.com> - 2.15.2-1
e95de74
- Update to version 2.15.2
e95de74
8411b13
* Tue Jan 31 2023 Chris Kelley <ckelley@redhat.com> - 2.14.2-1
8411b13
- Update to version 2.14.2
8411b13
0d56607
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-2
0d56607
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0d56607
b31f36b
* Wed Nov 23 2022 Chris Kelley <ckelley@redhat.com> - 2.14.1-1
b31f36b
- Update to version 2.14.1
b31f36b
05694fb
* Tue Nov 08 2022 Chris Kelley <ckelley@redhat.com> - 2.14.0-1
05694fb
- Update to version 2.14
6f11966
- Update to use SPDX licence
05694fb
fd2d3bd
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-8
fd2d3bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
fd2d3bd
626a836
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 2.11.4-7
626a836
- Rebuilt for Drop i686 JDKs
626a836
0254cb7
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.11.4-6
0254cb7
- Rebuilt for java-17-openjdk as system jdk
0254cb7
22a1908
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-5
22a1908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
22a1908
6aa89f1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-4
6aa89f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
6aa89f1
6497be3
* Fri May 21 2021 Dogtag PKI Team <pki-devel@redhat.com> - 2.11.4-3
6497be3
- Disable tests
33b21fd
- Drop jackson-databind-javadoc
6497be3
51777d0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.4-2
51777d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
51777d0
27385b2
* Mon Jan 18 2021 Fabio Valentini <decathorpe@gmail.com> - 2.11.4-1
27385b2
- Update to version 2.11.4.
27385b2
8bd6782
* Wed Oct 14 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.3-1
8bd6782
- Update to version 2.11.3.
8bd6782
af01e08
* Sun Aug 09 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.2-2
af01e08
- Drop useless powermock build dependency.
af01e08
d59ef2f
* Sat Aug 08 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.2-1
d59ef2f
- Update to version 2.11.2.
d59ef2f
fb53a83
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-3
fb53a83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fb53a83
9385e12
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 2.11.1-2
9385e12
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
9385e12
2e81c06
* Mon Jul 06 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.1-1
2e81c06
- Update to version 2.11.1.
2e81c06
15cb103
* Mon May 25 2020 Fabio Valentini <decathorpe@gmail.com> - 2.11.0-1
15cb103
- Update to version 2.11.0.
15cb103
3c97704
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 2.10.4-1
3c97704
- Update to version 2.10.4.
3c97704
02ac409
* Tue Mar 03 2020 Fabio Valentini <decathorpe@gmail.com> - 2.10.3-1
02ac409
- Update to version 2.10.3.
02ac409
aa8e582
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-2
aa8e582
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
aa8e582
47440f2
* Fri Jan 17 2020 Fabio Valentini <decathorpe@gmail.com> - 2.10.2-1
47440f2
- Update to version 2.10.2.
47440f2
2a502f4
* Wed Nov 13 2019 Fabio Valentini <decathorpe@gmail.com> - 2.10.1-1
2a502f4
- Update to version 2.10.1.
2a502f4
Alexander Scheel 0a67c3c
* Thu Oct 3 2019 Alexander Scheel <ascheel@redhat.com> - 2.10.0-1
Alexander Scheel 0a67c3c
- Update to latest upstream release
Alexander Scheel 0a67c3c
- Fixes: CVE-2019-14540
Alexander Scheel 0a67c3c
- Fixes: CVE-2019-16335
Alexander Scheel 0a67c3c
- Fixes: CVE-2019-16942
Alexander Scheel 0a67c3c
- Fixes: CVE-2019-16943
Alexander Scheel 0a67c3c
- Resolves: rhbz#1758168
Alexander Scheel 0a67c3c
- Resolves: rhbz#1758172
Alexander Scheel 0a67c3c
- Resolves: rhbz#1758183
Alexander Scheel 0a67c3c
Alexander Scheel 65ccbd1
* Thu Sep 12 2019 Alexander Scheel <ascheel@redhat.com> - 2.9.9.3-1
Alexander Scheel 65ccbd1
- Update to latest upstream release; fixes CVE-2019-12384
Alexander Scheel 65ccbd1
aa02481
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-2
aa02481
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
aa02481
817a21e
* Wed Feb 06 2019 Mat Booth <mat.booth@redhat.com> - 2.9.8-1
817a21e
- Update to latest upstream release, fixes CVE-2018-14718 CVE-2018-147189
817a21e
  CVE-2018-19360 CVE-2018-19361 CVE-2018-19362 CVE-2018-12022 CVE-2018-12023
817a21e
  CVE-2018-14720 CVE-2018-14721
817a21e
f95cb60
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-5
f95cb60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f95cb60
83ad1de
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-4
83ad1de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
83ad1de
9454dfa
* Mon Mar 26 2018 Mat Booth <mat.booth@redhat.com> - 2.9.4-3
9454dfa
- Add patch to fix CVE-2018-7489
9454dfa
c2ea968
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-2
c2ea968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c2ea968
7e6c4a6
* Wed Jan 24 2018 Mat Booth <mat.booth@redhat.com> - 2.9.4-1
7e6c4a6
- Update to latest upstream release
7e6c4a6
- Drop upstreamed CVE patches
7e6c4a6
f5bc93f
* Mon Jan 22 2018 Mat Booth <mat.booth@redhat.com> - 2.9.3-1
f5bc93f
- Update to latest upstream release
f5bc93f
4601681
* Mon Jan 15 2018 Mat Booth <mat.booth@redhat.com> - 2.7.6-7
4601681
- Better patch for CVE-2017-17485
4601681
d969abf
* Thu Jan 11 2018 Mat Booth <mat.booth@redhat.com> - 2.7.6-6
d969abf
- Backport a patch to fix CVE-2017-17485
d969abf
98135e2
* Fri Nov 03 2017 Mat Booth <mat.booth@redhat.com> - 2.7.6-5
98135e2
- Backport a patch to fix CVE-2017-15095
98135e2
b7db8ae
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6-4
b7db8ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b7db8ae
9203533
* Thu Jul 20 2017 Mat Booth <mat.booth@redhat.com> - 2.7.6-3
9203533
- Backport a patch to fix CVE-2017-7525
9203533
8a0ee14
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.6-2
8a0ee14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8a0ee14
9c6cc24
* Mon Aug 22 2016 gil cattaneo <puntogil@libero.it> 2.7.6-1
9c6cc24
- update to 2.7.6
9c6cc24
fa076c0
* Fri Jun 24 2016 gil cattaneo <puntogil@libero.it> 2.6.7-1
fa076c0
- update to 2.6.7
fa076c0
3ec2ed8
* Thu May 26 2016 gil cattaneo <puntogil@libero.it> 2.6.6-1
3ec2ed8
- update to 2.6.6
3ec2ed8
af42b5a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.3-2
af42b5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
af42b5a
a8165d7
* Sun Oct 25 2015 gil cattaneo <puntogil@libero.it> 2.6.3-1
a8165d7
- update to 2.6.3
a8165d7
dae9cfa
* Mon Sep 28 2015 gil cattaneo <puntogil@libero.it> 2.6.2-1
dae9cfa
- update to 2.6.2
dae9cfa
12f91ea
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-2
12f91ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
12f91ea
b2eab3e
* Sat Jan 31 2015 gil cattaneo <puntogil@libero.it> 2.5.0-1
b2eab3e
- update to 2.5.0
b2eab3e
a854372
* Sat Sep 20 2014 gil cattaneo <puntogil@libero.it> 2.4.2-1
0e5d27e
- update to 2.4.2
0e5d27e
0aaf9cf
* Wed Jul 23 2014 gil cattaneo <puntogil@libero.it> 2.4.1.3-1
0aaf9cf
- update to 2.4.1.3
0aaf9cf
e11878e
* Thu Jul 03 2014 gil cattaneo <puntogil@libero.it> 2.4.1.1-1
e11878e
- update to 2.4.1.1
e11878e
1279d31
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-5
1279d31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1279d31
b515cb3
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.2.2-4
b515cb3
- Use Requires: java-headless rebuild (#1067528)
b515cb3
a195d77
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-3
a195d77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a195d77
e1213e3
* Mon Jul 22 2013 gil cattaneo <puntogil@libero.it> 2.2.2-2
e1213e3
- review fixes
e1213e3
e1213e3
* Tue Jul 16 2013 gil cattaneo <puntogil@libero.it> 2.2.2-1
e1213e3
- 2.2.2
e1213e3
- renamed jackson-databind
e1213e3
e1213e3
* Tue May 07 2013 gil cattaneo <puntogil@libero.it> 2.2.1-1
e1213e3
- 2.2.1
e1213e3
e1213e3
* Wed Oct 24 2012 gil cattaneo <puntogil@libero.it> 2.1.0-1
e1213e3
- update to 2.1.0
e1213e3
- renamed jackson2-databind
e1213e3
e1213e3
* Thu Sep 13 2012 gil cattaneo <puntogil@libero.it> 2.0.6-1
e11878e
- initial rpm