Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
d9d518a0bc
commit
75cadd43f5
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: cdi-api
|
||||
Version: 2.0.2
|
||||
Release: 1%{?dist}
|
||||
@ -11,8 +13,12 @@ Source0: https://github.com/eclipse-ee4j/cdi/archive/%{version}.tar.gz
|
||||
Patch1: 0001-Remove-dependency-on-glassfish-el.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: %{?module_prefix}mvn(jakarta.inject:jakarta.inject-api)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
||||
|
Loading…
Reference in New Issue
Block a user