Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
0198e0ec5a
commit
3ede547f6b
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-remote-resources-plugin
|
||||
Version: 1.7.0
|
||||
Release: 1%{?dist}
|
||||
@ -11,6 +13,9 @@ Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/
|
||||
Patch0: 0001-Port-to-Maven-3.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
|
||||
@ -33,6 +38,7 @@ BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-resources)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Process resources packaged in JARs that have been deployed to
|
||||
|
||||
Loading…
Reference in New Issue
Block a user