Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
7a2c7629ef
commit
9c28b81038
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
%global upstream_version %(echo %{version} | tr '~' '-')
|
%global upstream_version %(echo %{version} | tr '~' '-')
|
||||||
|
|
||||||
Name: qdox
|
Name: qdox
|
||||||
@ -17,10 +19,13 @@ Source2: generate-tarball.sh
|
|||||||
Patch0: 0001-Port-to-JFlex-1.7.0.patch
|
Patch0: 0001-Port-to-JFlex-1.7.0.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
||||||
|
|
||||||
BuildRequires: byaccj
|
BuildRequires: byaccj
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: jflex
|
BuildRequires: jflex
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QDox is a high speed, small footprint parser
|
QDox is a high speed, small footprint parser
|
||||||
|
Loading…
Reference in New Issue
Block a user