Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
ae0d10d16f
commit
6b46ae68a2
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: beust-jcommander
|
||||
Version: 1.78
|
||||
Release: 2%{?dist}
|
||||
@ -16,9 +18,13 @@ Source2: generate-tarball.sh
|
||||
Patch0: 0001-ParseValues-NullPointerException-patch.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
BuildRequires: mvn(org.testng:testng)
|
||||
%endif
|
||||
|
||||
%description
|
||||
JCommander is a very small Java framework that makes it trivial to
|
||||
|
Loading…
Reference in New Issue
Block a user