import CS jackson-bom-2.14.2-1.module_el8+988+30834131

This commit is contained in:
eabdullin 2024-03-28 14:01:58 +00:00
parent 3547dd32f0
commit 245da91233
3 changed files with 14 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/jackson-bom-2.10.0.tar.gz
SOURCES/jackson-bom-2.14.2.tar.gz

View File

@ -1 +1 @@
21d7b3edf47a684464890afb3e121316c51ed797 SOURCES/jackson-bom-2.10.0.tar.gz
3f7a611e9e9f7c35f7b170b9a0a2602f56a0184f SOURCES/jackson-bom-2.14.2.tar.gz

View File

@ -1,8 +1,9 @@
Name: jackson-bom
Version: 2.10.0
Version: 2.14.2
Release: 1%{?dist}
Summary: Bill of materials POM for Jackson projects
License: ASL 2.0
License: Apache-2.0
URL: https://github.com/FasterXML/jackson-bom
Source0: %{url}/archive/%{name}-%{version}.tar.gz
# Upstream chooses not to include licenses with their pom only projects:
@ -10,9 +11,12 @@ Source0: %{url}/archive/%{name}-%{version}.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.10
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.14
BuildArch: noarch
%if 0%{?fedora}
ExclusiveArch: %{java_arches} noarch
%endif
%description
A "bill of materials" POM for Jackson dependencies.
@ -20,14 +24,12 @@ A "bill of materials" POM for Jackson dependencies.
%prep
%setup -q -n %{name}-%{name}-%{version}
cp -p %{SOURCE1} LICENSE
sed -i 's/\r//' LICENSE
# Disable plugins not needed during RPM builds
%pom_remove_plugin ":maven-enforcer-plugin" base
%pom_remove_plugin ":nexus-staging-maven-plugin" base
# New EE coords
%pom_change_dep "javax.activation:javax.activation-api" "jakarta.activation:jakarta.activation-api" base
%pom_change_dep "javax.activation:javax.activation-api" "jakarta.activation:jakarta.activation-api:2" base
%build
%mvn_build -j
@ -40,6 +42,9 @@ sed -i 's/\r//' LICENSE
%license LICENSE
%changelog
* Wed Nov 22 2023 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.14.2-1
- Rebase to upstream version 2.14.2
* Tue Nov 12 2019 Red Hat PKI Team <rhcs-maint@redhat.com> - 2.10.0-1
- Update to latest upstream release