Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
9d913330a1
commit
fc5c34d1d5
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
%global jar_version 1.4
|
||||
%global lh_version 1.1
|
||||
%global id_version 1.1
|
||||
@ -19,8 +21,12 @@ Source5: https://repo1.maven.org/maven2/org/apache/apache-incubator-discl
|
||||
Source6: https://repo1.maven.org/maven2/org/apache/apache-incubator-disclaimer-resource-bundle/%{id_version}/apache-incubator-disclaimer-resource-bundle-%{id_version}.pom
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
An archive which contains templates for generating the necessary license files
|
||||
|
Loading…
Reference in New Issue
Block a user