Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
c935029edc
commit
c78e7cb3fd
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: apache-commons-beanutils
|
Name: apache-commons-beanutils
|
||||||
Version: 1.9.4
|
Version: 1.9.4
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
@ -8,9 +10,13 @@ BuildArch: noarch
|
|||||||
Source0: http://archive.apache.org/dist/commons/beanutils/source/commons-beanutils-%{version}-src.tar.gz
|
Source0: http://archive.apache.org/dist/commons/beanutils/source/commons-beanutils-%{version}-src.tar.gz
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(commons-collections:commons-collections)
|
BuildRequires: mvn(commons-collections:commons-collections)
|
||||||
BuildRequires: mvn(commons-logging:commons-logging)
|
BuildRequires: mvn(commons-logging:commons-logging)
|
||||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The scope of this package is to create a package of Java utility methods
|
The scope of this package is to create a package of Java utility methods
|
||||||
|
Loading…
Reference in New Issue
Block a user