Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
5a44086494
commit
40419a6222
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: osgi-annotation
|
||||
Version: 8.0.0
|
||||
Release: 1%{?dist}
|
||||
@ -14,7 +16,11 @@ Source1: https://repo1.maven.org/maven2/org/osgi/osgi.annotation/%{versio
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Annotations for use in compiling OSGi bundles. This package is not normally
|
||||
|
||||
Loading…
Reference in New Issue
Block a user