Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
246e9188de
commit
7a5a4ce249
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
%bcond_without bootstrap
|
||||
|
||||
Name: xz-java
|
||||
Version: 1.8
|
||||
Release: 4%{?dist}
|
||||
|
|
@ -9,7 +11,11 @@ BuildArch: noarch
|
|||
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
||||
|
||||
BuildRequires: javapackages-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: ant
|
||||
%endif
|
||||
|
||||
%description
|
||||
A complete implementation of XZ data compression in Java.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue