diff --git a/apache-parent.spec b/apache-parent.spec index b7ecc41..9814165 100644 --- a/apache-parent.spec +++ b/apache-parent.spec @@ -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