diff --git a/velocity.spec b/velocity.spec index 64d26bf..cb50f38 100644 --- a/velocity.spec +++ b/velocity.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: velocity Version: 1.7 Release: 27%{?dist} @@ -17,9 +19,13 @@ Patch2: 0002-Force-use-of-JDK-log-chute.patch Patch3: 0003-CVE-2020-13936.patch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(commons-collections:commons-collections) BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache:apache:pom:) +%endif %description Velocity is a Java-based template engine. It permits anyone to use the