diff --git a/jdepend.spec b/jdepend.spec index acccf5d..65d120f 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -47,6 +47,11 @@ rm -rf $RPM_BUILD_ROOT find . -name "*.jar" -exec rm -f {} \; # fix strange permissions find . -type d -exec chmod 755 {} \; +# delete stuff that doesn't work with libgcj (#130006). +if java -version 2>&1 | grep -q "gcj"; then + rm -f src/jdepend/swingui/DependTree.java + rm -f src/jdepend/swingui/JDepend.java +fi %build ant jar javadoc