SHA256
1
0
forked from pool/guava
Fridrich Strba 2022-03-11 12:13:28 +00:00 committed by Git OBS Bridge
parent fbe039477a
commit aba1f26d46
2 changed files with 7 additions and 2 deletions

@ -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> Mon May 10 14:59:41 UTC 2021 - Fridrich Strba <fstrba@suse.com>

@ -1,7 +1,7 @@
# #
# spec file for package guava # 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 # 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
@ -97,7 +97,7 @@ annotations=$(
find -name '*.java' | xargs sed -ri \ find -name '*.java' | xargs sed -ri \
"s/^import .*\.($annotations);//;s/@($annotations)"'\>\s*(\((("[^"]*")|([^)]*))\))?//g' "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_remove_parent ${mod}
%pom_xpath_inject pom:project ' %pom_xpath_inject pom:project '
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>