Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
7b3ec95536
commit
af52bc55fd
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: plexus-languages
|
Name: plexus-languages
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -13,12 +15,16 @@ Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|||||||
Source2: generate-tarball.sh
|
Source2: generate-tarball.sh
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
||||||
BuildRequires: mvn(javax.inject:javax.inject)
|
BuildRequires: mvn(javax.inject:javax.inject)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
||||||
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
||||||
BuildRequires: mvn(org.ow2.asm:asm)
|
BuildRequires: mvn(org.ow2.asm:asm)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Plexus Languages is a set of Plexus components that maintain shared
|
Plexus Languages is a set of Plexus components that maintain shared
|
||||||
|
Loading…
Reference in New Issue
Block a user