Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:13 +02:00
parent b0c39f1527
commit f0e495d890

View File

@ -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