Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
6a8172c412
commit
8c4200c913
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: apache-commons-cli
|
||||
Version: 1.4
|
||||
Release: 7%{?dist}
|
||||
@ -12,9 +14,13 @@ Source0: http://www.apache.org/dist/commons/cli/source/commons-cli-%{vers
|
||||
Patch0: CLI-253-workaround.patch
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The CLI library provides a simple and easy to use API for working with the
|
||||
|
Loading…
Reference in New Issue
Block a user