diff --git a/hamcrest.spec b/hamcrest.spec index f2c2773..4198d77 100644 --- a/hamcrest.spec +++ b/hamcrest.spec @@ -16,10 +16,10 @@ 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: maven-local BuildRequires: mvn(junit:junit) %endif