Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
ff1edde4a9
commit
9108d6f507
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: jsoup
|
||||
Version: 1.13.1
|
||||
Release: 1%{?dist}
|
||||
@ -12,7 +14,11 @@ Source0: %{name}-%{version}.tar.gz
|
||||
Source1: generate-tarball.sh
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
jsoup is a Java library for working with real-world HTML.
|
||||
|
Loading…
Reference in New Issue
Block a user