Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
84fd2700a5
commit
aaad540e33
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
# Component versions, taken from gradle.properties
|
# Component versions, taken from gradle.properties
|
||||||
%global platform_version 1.%(v=%{version}; echo ${v:2})
|
%global platform_version 1.%(v=%{version}; echo ${v:2})
|
||||||
%global jupiter_version %{version}
|
%global jupiter_version %{version}
|
||||||
@ -36,11 +38,15 @@ Source400: https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-e
|
|||||||
Source500: https://repo1.maven.org/maven2/org/junit/junit-bom/%{version}/junit-bom-%{version}.pom
|
Source500: https://repo1.maven.org/maven2/org/junit/junit-bom/%{version}/junit-bom-%{version}.pom
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(com.univocity:univocity-parsers)
|
BuildRequires: mvn(com.univocity:univocity-parsers)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.apiguardian:apiguardian-api)
|
BuildRequires: mvn(org.apiguardian:apiguardian-api)
|
||||||
BuildRequires: mvn(org.opentest4j:opentest4j)
|
BuildRequires: mvn(org.opentest4j:opentest4j)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
JUnit is a popular regression testing framework for Java platform.
|
JUnit is a popular regression testing framework for Java platform.
|
||||||
|
Loading…
Reference in New Issue
Block a user