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