Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
3e9075954d
commit
3a53f1a83d
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-surefire
|
||||
Version: 3.0.0~M3
|
||||
Release: 4%{?dist}
|
||||
@ -18,6 +20,9 @@ Patch3: 0003-Disable-JUnit-4.8-test-grouping.patch
|
||||
Patch4: 0004-Port-to-maven-shared-utils-3.3.3.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
@ -39,6 +44,7 @@ BuildRequires: mvn(org.fusesource.jansi:jansi)
|
||||
BuildRequires: mvn(org.junit.platform:junit-platform-launcher)
|
||||
BuildRequires: mvn(org.testng:testng)
|
||||
BuildRequires: mvn(org.testng:testng::jdk15:)
|
||||
%endif
|
||||
|
||||
|
||||
# PpidChecker relies on /usr/bin/ps to check process uptime
|
||||
|
Loading…
Reference in New Issue
Block a user