diff --git a/jsoup.spec b/jsoup.spec index 6114bd2..95ec8f0 100644 --- a/jsoup.spec +++ b/jsoup.spec @@ -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.