Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
b0c39f1527
commit
f0e495d890
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: plexus-interpolation
|
Name: plexus-interpolation
|
||||||
Version: 1.26
|
Version: 1.26
|
||||||
Release: 3%{?dist}
|
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
|
Patch0: 0001-Use-PATH-env-variable-instead-of-JAVA_HOME.patch
|
||||||
|
|
||||||
BuildRequires: maven-local-openjdk8
|
BuildRequires: maven-local-openjdk8
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Plexus interpolator is the outgrowth of multiple iterations of development
|
Plexus interpolator is the outgrowth of multiple iterations of development
|
||||||
|
Loading…
Reference in New Issue
Block a user