Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
97e0e7c18d
commit
ea7bb6371a
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: osgi-compendium
|
||||
Version: 7.0.0
|
||||
Release: 4%{?dist}
|
||||
@ -9,9 +11,13 @@ BuildArch: noarch
|
||||
Source0: https://osgi.org/download/r7/osgi.cmpn-%{version}.jar
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.osgi:osgi.annotation)
|
||||
BuildRequires: mvn(org.osgi:osgi.core)
|
||||
%endif
|
||||
|
||||
%description
|
||||
OSGi Compendium, Interfaces and Classes for use in compiling bundles.
|
||||
|
Loading…
Reference in New Issue
Block a user