Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
a6c7a06c84
commit
7b6e90554e
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: assertj-core
|
||||
Version: 3.19.0
|
||||
Release: 1%{?dist}
|
||||
@ -9,11 +11,15 @@ Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(net.bytebuddy:byte-buddy)
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
||||
BuildRequires: mvn(org.opentest4j:opentest4j)
|
||||
%endif
|
||||
|
||||
%description
|
||||
A rich and intuitive set of strongly-typed assertions to use for unit testing
|
||||
|
Loading…
Reference in New Issue
Block a user