diff --git a/java_cup.spec b/java_cup.spec index 98fdf4e..65d5d38 100644 --- a/java_cup.spec +++ b/java_cup.spec @@ -34,7 +34,7 @@ Name: java_cup Version: 0.11a -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: Java source interpreter License: BSD and LGPLv2 @@ -77,19 +77,17 @@ Documentation for java_cup. # remove all binary files find . -name "*.class" -exec rm -f {} \; +%if ! %{with_bootstrap} # remove prebuilt JFlex rm -rf java_cup-0.11a/bin/JFlex.jar # remove prebuilt java_cup, if not bootstrapping -%if ! %{with_bootstrap} rm -rf java_cup-0.11a/bin/java-cup-11.jar %endif %build %if ! %{with_bootstrap} export CLASSPATH=$(build-classpath java_cup java_cup-runtime jflex) -%else -export CLASSPATH=$(build-classpath jflex) %endif ant @@ -129,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT %doc %{_javadocdir}/%{name} %changelog +* Wed Jan 20 2010 Alexander Kurtakov 1:0.11a-3 +- Fix bootstrap. + * Sun Jan 17 2010 Miloš Jakubíček - 1:0.11a-2 - Rebuilt in non-bootstrap mode (removed all prebuilt jars). - Added BR: jflex and java_cup >= 1:0.11a for non-bootstrap mode