Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent e46fc2ee95
commit c6a67957bc

View File

@ -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