Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
dbe905a96c
commit
ed78ff87a7
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: jsr-305
|
Name: jsr-305
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -15,7 +17,11 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
Source1: NOTICE-CC-BY.txt
|
Source1: NOTICE-CC-BY.txt
|
||||||
|
|
||||||
BuildRequires: maven-local-openjdk8
|
BuildRequires: maven-local-openjdk8
|
||||||
|
%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 contains reference implementations, test cases, and other
|
This package contains reference implementations, test cases, and other
|
||||||
|
Loading…
Reference in New Issue
Block a user