Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
af35f9df3b
commit
bde0dd1fc3
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: apache-commons-parent
|
||||
Version: 52
|
||||
Release: 1%{?dist}
|
||||
@ -9,13 +11,19 @@ BuildArch: noarch
|
||||
Source0: https://github.com/apache/commons-parent/archive/rel/commons-parent-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache:apache:pom:)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
%endif
|
||||
|
||||
# Not generated automatically
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||
%endif
|
||||
Requires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user