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