This commit is contained in:
parent
c360baa86b
commit
24cf5b315a
@ -52,7 +52,7 @@ BuildArch: noarch
|
|||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
BuildRequires: java-cup-bootstrap
|
BuildRequires: java-cup-bootstrap
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: jflex
|
BuildRequires: jflex-bootstrap
|
||||||
Conflicts: java-cup-bootstrap
|
Conflicts: java-cup-bootstrap
|
||||||
%else
|
%else
|
||||||
Conflicts: java-cup
|
Conflicts: java-cup
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
- <taskdef name="cup" classname="java_cup.anttask.CUPTask" classpath="${bin}/java-cup-11.jar" />
|
- <taskdef name="cup" classname="java_cup.anttask.CUPTask" classpath="${bin}/java-cup-11.jar" />
|
||||||
- <taskdef name="jflex" classname="JFlex.anttask.JFlexTask" classpath="${bin}/JFlex.jar" />
|
- <taskdef name="jflex" classname="JFlex.anttask.JFlexTask" classpath="${bin}/JFlex.jar" />
|
||||||
+ <taskdef name="cup" classname="java_cup.anttask.CUPTask" classpath="/usr/share/java/java_cup.jar" />
|
+ <taskdef name="cup" classname="java_cup.anttask.CUPTask" classpath="/usr/share/java/java_cup.jar" />
|
||||||
+ <taskdef name="jflex" classname="JFlex.anttask.JFlexTask" classpath="/usr/share/java/jflex.jar" />
|
+ <taskdef name="jflex" classname="jflex.anttask.JFlexTask" classpath="/usr/share/java/jflex.jar" />
|
||||||
|
|
||||||
<target name="cup" depends="init">
|
<target name="cup" depends="init">
|
||||||
<cup srcfile="${cup}/parser.cup" interface="on" destdir="${java}" parser="parser" symbols="sym" quiet="false" nonterms="true"/>
|
<cup srcfile="${cup}/parser.cup" interface="on" destdir="${java}" parser="parser" symbols="sym" quiet="false" nonterms="true"/>
|
||||||
|
@ -51,7 +51,7 @@ BuildArch: noarch
|
|||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
BuildRequires: java-cup-bootstrap
|
BuildRequires: java-cup-bootstrap
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: jflex
|
BuildRequires: jflex-bootstrap
|
||||||
Conflicts: java-cup-bootstrap
|
Conflicts: java-cup-bootstrap
|
||||||
%else
|
%else
|
||||||
Conflicts: java-cup
|
Conflicts: java-cup
|
||||||
|
Loading…
Reference in New Issue
Block a user