diff --git a/plexus-interpolation.spec b/plexus-interpolation.spec index da41568..fb0d3a6 100644 --- a/plexus-interpolation.spec +++ b/plexus-interpolation.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: plexus-interpolation Version: 1.26 Release: 3%{?dist} @@ -12,9 +14,13 @@ Source0: https://github.com/codehaus-plexus/plexus-interpolation/archive/ Patch0: 0001-Use-PATH-env-variable-instead-of-JAVA_HOME.patch BuildRequires: maven-local-openjdk8 +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +%endif %description Plexus interpolator is the outgrowth of multiple iterations of development