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