From 985b4838d0d18570c9c6764d305a24fc10a7711e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 16 Apr 2021 15:33:12 +0200 Subject: [PATCH] Conditionalize buildrequires in bootstrap mode --- objectweb-asm.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/objectweb-asm.spec b/objectweb-asm.spec index d493c4c..51111ca 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: objectweb-asm Version: 9.0 Release: 1%{?dist} @@ -19,6 +21,9 @@ Source7: https://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/a Source9: generate-tarball.sh BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%endif # Explicit javapackages-tools requires since asm-processor script uses # /usr/share/java-utils/java-functions