Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
6d94c3f475
commit
4802dbf7a2
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: apache-commons-io
|
||||
Epoch: 1
|
||||
Version: 2.8.0
|
||||
@ -10,11 +12,15 @@ BuildArch: noarch
|
||||
Source0: https://archive.apache.org/dist/commons/io/source/commons-io-%{version}-src.tar.gz
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Commons-IO contains utility classes, stream implementations,
|
||||
|
Loading…
Reference in New Issue
Block a user