Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
45de21f432
commit
7f5162820c
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: apache-commons-compress
|
||||
Version: 1.20
|
||||
Release: 1%{?dist}
|
||||
@ -13,6 +15,9 @@ Patch1: 0002-Remove-ZSTD-compressor.patch
|
||||
Patch2: 0003-Avoid-use-of-internal-Mockito-API.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
@ -20,6 +25,7 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
BuildRequires: mvn(org.osgi:org.osgi.core)
|
||||
BuildRequires: mvn(org.tukaani:xz)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Apache Commons Compress library defines an API for working with
|
||||
|
Loading…
Reference in New Issue
Block a user