Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
c5b1591042
commit
03dd62ce78
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: apache-commons-collections
|
Name: apache-commons-collections
|
||||||
Version: 3.2.2
|
Version: 3.2.2
|
||||||
Release: 13%{?dist}
|
Release: 13%{?dist}
|
||||||
@ -12,9 +14,13 @@ Patch0: 0001-Port-to-Java-8.patch
|
|||||||
Patch1: 0002-Port-to-OpenJDK-11.patch
|
Patch1: 0002-Port-to-OpenJDK-11.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
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-antrun-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The introduction of the Collections API by Sun in JDK 1.2 has been a
|
The introduction of the Collections API by Sun in JDK 1.2 has been a
|
||||||
|
Loading…
Reference in New Issue
Block a user