Build on Fedora

This commit is contained in:
gbenson 2004-10-07 14:46:20 +00:00
parent 31398b443e
commit 238dfe5a47

View File

@ -47,6 +47,11 @@ rm -rf $RPM_BUILD_ROOT
find . -name "*.jar" -exec rm -f {} \; find . -name "*.jar" -exec rm -f {} \;
# fix strange permissions # fix strange permissions
find . -type d -exec chmod 755 {} \; 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 %build
ant jar javadoc ant jar javadoc