Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
2849fe3cb0
commit
9dac382e59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user