Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
0e8db3cfe5
commit
2bceba152f
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
# Copyright (c) 2000-2012, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
@ -39,8 +41,12 @@ Source1: http://repo1.maven.org/maven2/org/jdom/jdom/%{version}/jdom-%{ve
|
||||
Patch0: %{name}-crosslink.patch
|
||||
Patch1: %{name}-1.1-OSGiManifest.patch
|
||||
|
||||
BuildRequires: ant
|
||||
BuildRequires: javapackages-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: ant
|
||||
%endif
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user