Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
cbe003609d
commit
0b93462b1c
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: plexus-utils
|
Name: plexus-utils
|
||||||
Version: 3.3.0
|
Version: 3.3.0
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
@ -18,9 +20,13 @@ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{ver
|
|||||||
Source1: http://apache.org/licenses/LICENSE-2.0.txt
|
Source1: http://apache.org/licenses/LICENSE-2.0.txt
|
||||||
|
|
||||||
BuildRequires: maven-local-openjdk8
|
BuildRequires: maven-local-openjdk8
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Plexus project seeks to create end-to-end developer tools for
|
The Plexus project seeks to create end-to-end developer tools for
|
||||||
|
Loading…
Reference in New Issue
Block a user