From 618bce49235f51f34a8336c1095e8c15c4448b63 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 20 Jul 2020 14:12:17 +0200 Subject: [PATCH] Add BR on surefire-junit4 --- junit.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/junit.spec b/junit.spec index b070b0c..9c9c478 100644 --- a/junit.spec +++ b/junit.spec @@ -17,6 +17,11 @@ BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.hamcrest:hamcrest-core) +# For other packages, surefire-junit4 is normally pulled as transitive +# runtime dependency of junit, but junit doesn't build-depend on +# itself, so explicit BR on surefire-junit4 is needed. +BuildRequires: mvn(org.apache.maven.surefire:surefire-junit4) + %description JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. JUnit is Open