Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent 0e8db3cfe5
commit 2bceba152f

View File

@ -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