diff --git a/apache-resource-bundles.spec b/apache-resource-bundles.spec index 6e36b5b..6aece9f 100644 --- a/apache-resource-bundles.spec +++ b/apache-resource-bundles.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + %global jar_version 1.4 %global lh_version 1.1 %global id_version 1.1 @@ -19,8 +21,12 @@ Source5: https://repo1.maven.org/maven2/org/apache/apache-incubator-discl Source6: https://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}.pom BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(org.apache.maven:maven-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) +%endif %description An archive which contains templates for generating the necessary license files