Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent aa30cccee3
commit 985b4838d0

View File

@ -1,3 +1,5 @@
%bcond_without bootstrap
Name: objectweb-asm Name: objectweb-asm
Version: 9.0 Version: 9.0
Release: 1%{?dist} Release: 1%{?dist}
@ -19,6 +21,9 @@ Source7: https://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/a
Source9: generate-tarball.sh Source9: generate-tarball.sh
BuildRequires: maven-local BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%endif
# Explicit javapackages-tools requires since asm-processor script uses # Explicit javapackages-tools requires since asm-processor script uses
# /usr/share/java-utils/java-functions # /usr/share/java-utils/java-functions