From 9108d6f50717a09f5479eb5feb23edb20e7b081f Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 16 Apr 2021 15:33:12 +0200 Subject: [PATCH] Conditionalize buildrequires in bootstrap mode --- jsoup.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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.