Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
b67e5fa6cb
commit
202eea717a
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-source-plugin
|
||||
Version: 3.2.1
|
||||
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.maven:maven-archiver)
|
||||
BuildRequires: mvn(org.apache.maven:maven-compat)
|
||||
@ -19,6 +24,7 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Maven Source Plugin creates a JAR archive of the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user