- Fix bootstrap.
This commit is contained in:
parent
2197877871
commit
c9b8a8658b
@ -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 <akurtako@redhat.com> 1:0.11a-3
|
||||
- Fix bootstrap.
|
||||
|
||||
* Sun Jan 17 2010 Miloš Jakubíček <xjakub@fi.muni.cz> - 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user