forked from pool/jackson-bom
This commit is contained in:
parent
3d08bf103c
commit
438d2e93c9
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jackson-bom
|
# spec file for package jackson-bom
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,7 +27,8 @@ Source0: https://github.com/FasterXML/jackson-bom/archive/%{name}-%{versi
|
|||||||
# Upstream chooses not to include licenses with their pom only projects:
|
# Upstream chooses not to include licenses with their pom only projects:
|
||||||
# https://github.com/FasterXML/jackson-parent/issues/1
|
# https://github.com/FasterXML/jackson-parent/issues/1
|
||||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||||
BuildRequires: maven-local
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: xmvn-resolve
|
||||||
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.7.1
|
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.7.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -44,10 +45,13 @@ sed -i 's/\r//' LICENSE
|
|||||||
%pom_remove_plugin ":maven-enforcer-plugin" base
|
%pom_remove_plugin ":maven-enforcer-plugin" base
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{mvn_build} -j
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||||
|
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
|
||||||
|
install -pm 0644 base/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/jackson-base.pom
|
||||||
|
%add_maven_depmap %{name}/%{name}.pom
|
||||||
|
%add_maven_depmap %{name}/jackson-base.pom
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user