Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
02305b24e4
commit
b7662dfe43
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: aqute-bnd
|
Name: aqute-bnd
|
||||||
Version: 5.2.0
|
Version: 5.2.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -23,11 +25,15 @@ Patch1: 0001-Disable-removed-commands.patch
|
|||||||
Patch2: 0002-Port-to-OSGI-7.0.0.patch
|
Patch2: 0002-Port-to-OSGI-7.0.0.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(org.osgi:osgi.annotation)
|
BuildRequires: mvn(org.osgi:osgi.annotation)
|
||||||
BuildRequires: mvn(org.osgi:osgi.cmpn)
|
BuildRequires: mvn(org.osgi:osgi.cmpn)
|
||||||
BuildRequires: mvn(org.osgi:osgi.core)
|
BuildRequires: mvn(org.osgi:osgi.core)
|
||||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||||
BuildRequires: mvn(org.slf4j:slf4j-simple)
|
BuildRequires: mvn(org.slf4j:slf4j-simple)
|
||||||
|
%endif
|
||||||
|
|
||||||
# Explicit javapackages-tools requires since bnd script uses
|
# Explicit javapackages-tools requires since bnd script uses
|
||||||
# /usr/share/java-utils/java-functions
|
# /usr/share/java-utils/java-functions
|
||||||
|
Loading…
Reference in New Issue
Block a user