Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
6069498d47
commit
33e57b65d0
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Summary: Fast Scanner Generator
|
||||
Name: jflex
|
||||
Version: 1.7.0
|
||||
@ -14,11 +16,17 @@ Source4: %{name}.1
|
||||
Source5: create-tarball.sh
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(java_cup:java_cup)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.ant:ant)
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: jflex
|
||||
%endif
|
||||
|
||||
# Explicit javapackages-tools requires since scripts use
|
||||
# /usr/share/java-utils/java-functions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user