Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
cc83df56e0
commit
26e7f679d3
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: atinject
|
||||
Version: 1.0.3
|
||||
Release: 1%{?dist}
|
||||
@ -9,7 +11,11 @@ BuildArch: noarch
|
||||
Source0: https://github.com/eclipse-ee4j/injection-api/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package specifies a means for obtaining objects in such a way as
|
||||
|
Loading…
Reference in New Issue
Block a user