Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent 565f25d74a
commit 5767be9f45

View File

@ -1,3 +1,5 @@
%bcond_without bootstrap
Name: apache-commons-jxpath
Version: 1.3
Release: 31%{?dist}
@ -11,11 +13,15 @@ Source0: http://www.apache.org/dist/commons/jxpath/source/commons-jxpath-
Patch0: commons-jxpath-mockrunner.patch
BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(commons-beanutils:commons-beanutils)
BuildRequires: mvn(jdom:jdom)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
%endif
%description
Defines a simple interpreter of an expression language called XPath.