Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
2a37621c4e
commit
2ff0069abf
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: xbean
|
||||
Version: 4.18
|
||||
Release: 1%{?dist}
|
||||
@ -13,10 +15,14 @@ Patch2: 0002-Unbundle-ASM.patch
|
||||
Patch3: 0003-Remove-dependency-on-log4j-and-commons-logging.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.ow2.asm:asm)
|
||||
BuildRequires: mvn(org.ow2.asm:asm-commons)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The goal of XBean project is to create a plugin based server
|
||||
|
||||
Loading…
Reference in New Issue
Block a user