Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
134de31c0c
commit
4e06874948
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: plexus-cipher
|
||||
Version: 1.7
|
||||
Release: 17%{?dist}
|
||||
@ -14,10 +16,14 @@ BuildArch: noarch
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(javax.enterprise:cdi-api)
|
||||
BuildRequires: mvn(javax.inject:javax.inject)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.sonatype.plugins:sisu-maven-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Plexus Cipher: encryption/decryption Component
|
||||
|
Loading…
Reference in New Issue
Block a user