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