Accepting request 961077 from Java:packages

remove parent reference also from the failureaccess pom file

OBS-URL: https://build.opensuse.org/request/show/961077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/guava?expand=0&rev=6
This commit is contained in:
2022-03-11 20:41:39 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 11 12:13:02 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Remove parent reference from ALL distributed pom files
-------------------------------------------------------------------
Mon May 10 14:59:41 UTC 2021 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package guava
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -97,7 +97,7 @@ annotations=$(
find -name '*.java' | xargs sed -ri \
"s/^import .*\.($annotations);//;s/@($annotations)"'\>\s*(\((("[^"]*")|([^)]*))\))?//g'
for mod in guava guava-testlib; do
for mod in guava guava-testlib futures/failureaccess; do
%pom_remove_parent ${mod}
%pom_xpath_inject pom:project '
<groupId>com.google.guava</groupId>