Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
1cbd2ed481
commit
2acfa2397b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user