drop unnecessary dependency on parent POM

sonatype-oss-parent is marked as deprecated() in fedora
This commit is contained in:
Fabio Valentini 2020-02-19 23:36:14 +01:00
parent 0c501f7bcb
commit 12a84682c6
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

View File

@ -1,6 +1,6 @@
Name: guava
Version: 25.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Google Core Libraries for Java
# Most of the code is under ASL 2.0
# Few classes are under CC0, grep for creativecommons
@ -14,7 +14,6 @@ BuildRequires: maven-local
BuildRequires: mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%description
Guava is a suite of core and expanded libraries that include
@ -41,6 +40,9 @@ guava-testlib provides additional functionality for conveninent unit testing
find . -name '*.jar' -delete
# drop unnecessary dependency on parent POM
%pom_remove_parent
%pom_disable_module guava-gwt
%pom_disable_module guava-tests
@ -96,6 +98,9 @@ find -name '*.java' | xargs sed -ri \
%files testlib -f .mfiles-guava-testlib
%changelog
* Wed Feb 19 2020 Fabio Valentini <decathorpe@gmail.com> - 25.0-7
- Drop unnecessary dependency on parent POM.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 25.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild