Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
5732390fff
commit
077e5c2e36
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
%bcond_without bootstrap
|
||||
|
||||
Name: apache-commons-codec
|
||||
Version: 1.15
|
||||
Release: 1%{?dist}
|
||||
|
|
@ -12,9 +14,13 @@ Source0: https://archive.apache.org/dist/commons/codec/source/commons-cod
|
|||
Source1: aspell-mail.txt
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Commons Codec is an attempt to provide definitive implementations of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue