diff --git a/apache-commons-jxpath.spec b/apache-commons-jxpath.spec index f98509f..0d620c6 100644 --- a/apache-commons-jxpath.spec +++ b/apache-commons-jxpath.spec @@ -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.