diff --git a/apache-commons-collections.spec b/apache-commons-collections.spec index ea1f22b..d7ca5f2 100644 --- a/apache-commons-collections.spec +++ b/apache-commons-collections.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: apache-commons-collections Version: 3.2.2 Release: 13%{?dist} @@ -12,9 +14,13 @@ Patch0: 0001-Port-to-Java-8.patch Patch1: 0002-Port-to-OpenJDK-11.patch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +%endif %description The introduction of the Collections API by Sun in JDK 1.2 has been a