Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
e23286dabf
commit
9e7c20382c
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: jdom2
|
Name: jdom2
|
||||||
Version: 2.0.6
|
Version: 2.0.6
|
||||||
Release: 15%{?dist}
|
Release: 15%{?dist}
|
||||||
@ -16,8 +18,12 @@ Source4: generate-tarball.sh
|
|||||||
Patch0: 0001-Adapt-build.patch
|
Patch0: 0001-Adapt-build.patch
|
||||||
|
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user