Require appropriate providers depending on installed packages

This commit is contained in:
Mikolaj Izdebski 2019-10-28 11:37:59 +01:00
parent 578892604e
commit 1c31765a2b

View File

@ -50,6 +50,9 @@ Surefire is a test framework project.
%package plugin
Summary: Surefire plugin for maven
Requires: (%{name}-provider-junit = %{version}-%{release} if junit)
Requires: (%{name}-provider-junit5 = %{version}-%{release} if junit5)
Requires: (%{name}-provider-testng = %{version}-%{release} if testng)
%description plugin
Maven surefire plugin for running tests via the surefire framework.