Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
ee10288017
commit
6d6b57ce0c
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-jar-plugin
|
||||
Version: 3.2.0
|
||||
Release: 1%{?dist}
|
||||
@ -10,6 +12,9 @@ Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.maven:maven-archiver)
|
||||
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
||||
@ -24,6 +29,7 @@ BuildRequires: mvn(org.apache.maven.shared:file-management)
|
||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Builds a Java Archive (JAR) file from the compiled
|
||||
|
||||
Loading…
Reference in New Issue
Block a user