Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
dbe905a96c
commit
ed78ff87a7
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: jsr-305
|
||||
Version: 3.0.2
|
||||
Release: 1%{?dist}
|
||||
@ -15,7 +17,11 @@ Source0: %{name}-%{version}.tar.gz
|
||||
Source1: NOTICE-CC-BY.txt
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package contains reference implementations, test cases, and other
|
||||
|
Loading…
Reference in New Issue
Block a user