diff --git a/guava.spec b/guava.spec index 0f0db25..a30d26d 100644 --- a/guava.spec +++ b/guava.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: guava Version: 30.1 Release: 1%{?dist} @@ -13,11 +15,15 @@ Source0: https://github.com/google/guava/archive/v%{version}.tar.gz Patch1: 0001-Remove-multi-line-annotations.patch BuildRequires: maven-local-openjdk8 +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: %{?module_prefix}mvn(com.google.code.findbugs:jsr305) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) +%endif %description Guava is a suite of core and expanded libraries that include