Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent dbe905a96c
commit ed78ff87a7

View File

@ -1,3 +1,5 @@
%bcond_without bootstrap
Name: jsr-305
Version: 3.0.2
Release: 1%{?dist}
@ -15,7 +17,11 @@ Source0: %{name}-%{version}.tar.gz
Source1: NOTICE-CC-BY.txt
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%endif
%description
This package contains reference implementations, test cases, and other