diff --git a/plexus-build-api.spec b/plexus-build-api.spec index 007a4fb..9472a2a 100644 --- a/plexus-build-api.spec +++ b/plexus-build-api.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: plexus-build-api Version: 0.0.7 Release: 22%{?dist} @@ -15,9 +17,13 @@ Patch0: %{name}-migration-to-component-metadata.patch Patch1: 0000-Port-to-plexus-utils-3.3.0.patch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) +%endif %description Plexus Build API