Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
c760b2e5ea
commit
54a6d3a832
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: testng
|
Name: testng
|
||||||
Version: 7.3.0
|
Version: 7.3.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -20,6 +22,9 @@ Patch1: 0002-Replace-bundled-jquery-with-CDN-link.patch
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(com.beust:jcommander)
|
BuildRequires: mvn(com.beust:jcommander)
|
||||||
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
||||||
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
||||||
@ -27,6 +32,7 @@ BuildRequires: mvn(junit:junit)
|
|||||||
BuildRequires: mvn(org.apache.ant:ant)
|
BuildRequires: mvn(org.apache.ant:ant)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TestNG is a testing framework inspired from JUnit and NUnit but introducing
|
TestNG is a testing framework inspired from JUnit and NUnit but introducing
|
||||||
|
Loading…
Reference in New Issue
Block a user