Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
01c1a918c7
commit
352d527390
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
%global upstream_version %(echo %{version} | tr '~' '-')
|
||||
|
||||
Name: hamcrest
|
||||
@ -14,7 +16,11 @@ Source1: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/%{upstream_
|
||||
Patch0: 0001-Fix-build-with-OpenJDK-11.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Provides a library of matcher objects (also known as constraints or predicates)
|
||||
|
Loading…
Reference in New Issue
Block a user