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