diff --git a/osgi-core.spec b/osgi-core.spec index 1121125..4e34ca7 100644 --- a/osgi-core.spec +++ b/osgi-core.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: osgi-core Version: 8.0.0 Release: 1%{?dist} @@ -11,8 +13,12 @@ Source0: https://docs.osgi.org/download/r8/osgi.core-%{version}.jar BuildArch: noarch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.osgi:osgi.annotation) +%endif %description OSGi Core, Interfaces and Classes for use in compiling bundles.