Remove javax.swing workaround

This commit is contained in:
gbenson 2005-01-11 15:13:05 +00:00
parent 13817aaa41
commit 63aa82e44e

View File

@ -1,6 +1,6 @@
%define name bcel
%define version 5.1
%define release 1jpp_3fc
%define release 1jpp_4fc
%define section free
Name: %{name}
@ -62,12 +62,6 @@ find . -name "*.jar" -exec rm -f {} \;
perl -p -i -e 's| depends=\"examples\"||g;' build.xml
touch manifest.txt
# delete stuff that doesn't work with libgcj (#130006).
if java -version 2>&1 | grep -q "gcj"; then
rm -f src/java/org/apache/bcel/verifier/GraphicalVerifier.java
rm -f src/java/org/apache/bcel/verifier/VerifierAppFrame.java
fi
%build
export CLASSPATH=%(build-classpath regexp)
ant -Dbuild.dest=./build -Dbuild.dir=./build -Dname=%{name} compile
@ -117,6 +111,9 @@ fi
# -----------------------------------------------------------------------------
%changelog
* Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> 0:5.1-1jpp_4fc
- Reenable building of classes that require javax.swing (#130006).
* Thu Nov 4 2004 Gary Benson <gbenson@redhat.com> 0:5.1-1jpp_3fc
- Build into Fedora.