diff --git a/jsr-305.spec b/jsr-305.spec index 75a12a5..1e297a1 100644 --- a/jsr-305.spec +++ b/jsr-305.spec @@ -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