Fridrich Strba 2022-01-12 10:38:54 +00:00 committed by Git OBS Bridge
parent c360baa86b
commit 24cf5b315a
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ BuildArch: noarch
%if %{without bootstrap}
BuildRequires: java-cup-bootstrap
BuildRequires: javapackages-local
BuildRequires: jflex
BuildRequires: jflex-bootstrap
Conflicts: java-cup-bootstrap
%else
Conflicts: java-cup

View File

@ -7,7 +7,7 @@
- <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="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">
<cup srcfile="${cup}/parser.cup" interface="on" destdir="${java}" parser="parser" symbols="sym" quiet="false" nonterms="true"/>

View File

@ -51,7 +51,7 @@ BuildArch: noarch
%if %{without bootstrap}
BuildRequires: java-cup-bootstrap
BuildRequires: javapackages-local
BuildRequires: jflex
BuildRequires: jflex-bootstrap
Conflicts: java-cup-bootstrap
%else
Conflicts: java-cup