Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent ff1edde4a9
commit 9108d6f507
1 changed files with 6 additions and 0 deletions

View File

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