diff --git a/maven-plugin-testing.spec b/maven-plugin-testing.spec index 232863a..ffe9e13 100644 --- a/maven-plugin-testing.spec +++ b/maven-plugin-testing.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: maven-plugin-testing Version: 3.3.0 Release: 14%{?dist} @@ -12,6 +14,9 @@ Patch0: 0001-Port-to-plexus-utils-3.0.21.patch Patch1: 0002-Port-to-current-maven-artifact.patch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(commons-io:commons-io) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.maven:maven-aether-provider) @@ -22,6 +27,7 @@ BuildRequires: mvn(org.apache.maven:maven-parent:pom:) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.codehaus.plexus:plexus-archiver) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) +%endif %description The Maven Plugin Testing contains the necessary modules