Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
d2f61067fa
commit
f04e44a908
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: plexus-resources
|
||||
Version: 1.1.0
|
||||
Release: 2%{?dist}
|
||||
@ -9,9 +11,13 @@ BuildArch: noarch
|
||||
Source0: https://github.com/codehaus-plexus/plexus-resources/archive/plexus-resources-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Plexus project seeks to create end-to-end developer tools for
|
||||
|
Loading…
Reference in New Issue
Block a user