Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
d106ba8ee4
commit
5fd6ef3e15
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: plexus-classworlds
|
Name: plexus-classworlds
|
||||||
Version: 2.6.0
|
Version: 2.6.0
|
||||||
Release: 4%{?dist}
|
Release: 4%{?dist}
|
||||||
@ -9,8 +11,12 @@ BuildArch: noarch
|
|||||||
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
|
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
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.codehaus.plexus:plexus:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Classworlds is a framework for container developers
|
Classworlds is a framework for container developers
|
||||||
|
Loading…
Reference in New Issue
Block a user