Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
715c472118
commit
83eb65d476
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-antrun-plugin
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
@ -9,6 +11,9 @@ BuildArch: noarch
|
||||
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.ant:ant)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
@ -21,6 +26,7 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
||||
BuildRequires: mvn(org.xmlunit:xmlunit-core)
|
||||
BuildRequires: mvn(org.xmlunit:xmlunit-matchers)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This plugin provides the ability to run Ant tasks from within Maven.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user