diff --git a/apache-commons-compress.spec b/apache-commons-compress.spec index 659afbe..439963d 100644 --- a/apache-commons-compress.spec +++ b/apache-commons-compress.spec @@ -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