diff --git a/maven-surefire.spec b/maven-surefire.spec index 6a5e74b..7c07627 100644 --- a/maven-surefire.spec +++ b/maven-surefire.spec @@ -2,7 +2,7 @@ Name: maven-surefire Version: 2.22.0 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 0 Summary: Test framework project License: ASL 2.0 and CPL @@ -62,6 +62,11 @@ Surefire is a test framework project. %package plugin Summary: Surefire plugin for maven +Requires: (%{name}-provider-junit = %{epoch}:%{version}-%{release} if junit) +Requires: (%{name}-provider-testng = %{epoch}:%{version}-%{release} if testng) +%if %{with junit5} +Requires: (%{name}-provider-junit5 = %{epoch}:%{version}-%{release} if junit5) +%endif %description plugin Maven surefire plugin for running tests via the surefire framework. @@ -204,6 +209,9 @@ sed -i /-Xdoclint:all/d pom.xml %license LICENSE NOTICE cpl-v10.html %changelog +* Tue Dec 15 2020 Mikolaj Izdebski - 0:2.22.0-10 +- Add boolean dependencies between plugin and provider subpackages + * Tue Jul 28 2020 Fedora Release Engineering - 0:2.22.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild