diff --git a/apache-commons-lang3.spec b/apache-commons-lang3.spec index b4b5b30..f1d2a45 100644 --- a/apache-commons-lang3.spec +++ b/apache-commons-lang3.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: apache-commons-lang3 Version: 3.12.0 Release: 1%{?dist} @@ -10,6 +12,9 @@ Source0: https://archive.apache.org/dist/commons/lang/source/commons-lang Patch1: 0001-Remove-test-dependency-on-JUnit-Pioneer.patch BuildRequires: maven-local-openjdk8 +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(biz.aQute.bnd:biz.aQute.bndlib) BuildRequires: mvn(com.google.code.findbugs:jsr305) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) @@ -18,6 +23,7 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.easymock:easymock) BuildRequires: mvn(org.hamcrest:hamcrest) BuildRequires: mvn(org.junit.jupiter:junit-jupiter) +%endif %description The standard Java libraries fail to provide enough methods for