Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
565f25d74a
commit
5767be9f45
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: apache-commons-jxpath
|
Name: apache-commons-jxpath
|
||||||
Version: 1.3
|
Version: 1.3
|
||||||
Release: 31%{?dist}
|
Release: 31%{?dist}
|
||||||
@ -11,11 +13,15 @@ Source0: http://www.apache.org/dist/commons/jxpath/source/commons-jxpath-
|
|||||||
Patch0: commons-jxpath-mockrunner.patch
|
Patch0: commons-jxpath-mockrunner.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(commons-beanutils:commons-beanutils)
|
BuildRequires: mvn(commons-beanutils:commons-beanutils)
|
||||||
BuildRequires: mvn(jdom:jdom)
|
BuildRequires: mvn(jdom:jdom)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Defines a simple interpreter of an expression language called XPath.
|
Defines a simple interpreter of an expression language called XPath.
|
||||||
|
Loading…
Reference in New Issue
Block a user