Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
fc42ff5b00
commit
eedf3753b0
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-file-management
|
||||
Epoch: 1
|
||||
Version: 3.0.0
|
||||
@ -10,6 +12,9 @@ BuildArch: noarch
|
||||
Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/%{version}/file-management-%{version}-source-release.zip
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
||||
@ -17,6 +22,7 @@ BuildRequires: mvn(org.apache.maven.shared:maven-shared-io)
|
||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
||||
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Provides a component for plugins to easily resolve project dependencies.
|
||||
|
Loading…
Reference in New Issue
Block a user