Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
596441bbfe
commit
9ed7aeb2de
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: apache-parent
|
||||
Version: 23
|
||||
Release: 1%{?dist}
|
||||
@ -8,11 +10,17 @@ Source0: https://repo1.maven.org/maven2/org/apache/apache/%{version}/apac
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
||||
%endif
|
||||
|
||||
# Not generated automatically
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: mvn(org.apache:apache-jar-resource-bundle)
|
||||
%endif
|
||||
Requires: mvn(org.apache:apache-jar-resource-bundle)
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user