Accepting request 672376 from Java:packages

clean up the pom installation

OBS-URL: https://build.opensuse.org/request/show/672376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sonatype-oss-parent?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-02-11 20:17:37 +00:00 committed by Git OBS Bridge
commit c7b86034e5
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 7 08:30:03 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Clean-up the pom file installation to correspond to the standard
xmvn directories
-------------------------------------------------------------------
Tue Dec 18 07:54:00 UTC 2018 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package sonatype-oss-parent
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -43,9 +43,9 @@ cp -p %{SOURCE1} LICENSE
%install
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
%add_maven_depmap %{name}-%{version}.pom
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/oss-parent.pom
%add_maven_depmap %{name}/oss-parent.pom
%files -f .mfiles
%license LICENSE