diff --git a/opentest4j.spec b/opentest4j.spec index 00ee081..270082f 100644 --- a/opentest4j.spec +++ b/opentest4j.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: opentest4j Version: 1.2.0 Release: 2%{?dist} @@ -11,7 +13,11 @@ Source0: https://github.com/ota4j-team/opentest4j/archive/r%{version}.tar Source100: https://repo1.maven.org/maven2/org/opentest4j/opentest4j/%{version}/opentest4j-%{version}.pom BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(junit:junit) +%endif %description Open Test Alliance for the JVM is a minimal common foundation for