Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
a72ac7677c
commit
c9c531a9e6
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-plugin-tools
|
||||
Version: 3.6.0
|
||||
Release: 4%{?dist}
|
||||
@ -13,6 +15,9 @@ Patch2: 0002-Remove-dependency-on-jtidy.patch
|
||||
Patch3: 0003-Disable-reporting.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
@ -32,6 +37,7 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
BuildRequires: mvn(org.ow2.asm:asm)
|
||||
BuildRequires: mvn(org.ow2.asm:asm-commons)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Maven Plugin Tools contains the necessary tools to be able to produce Maven
|
||||
|
||||
Loading…
Reference in New Issue
Block a user