Fix compile with commons-net 2.0.

This commit is contained in:
Alexander Kurtakov 2009-08-13 11:37:48 +00:00
parent c19ddebd4a
commit b157344310

View File

@ -55,7 +55,7 @@
Name: ant
Version: 1.7.1
Release: 11%{?dist}
Release: 12%{?dist}
Epoch: 0
Summary: Ant build tool for java
Summary(it): Tool per la compilazione di programmi java
@ -493,7 +493,8 @@ Javadoc pour %{name}.
%prep
%setup -q -n apache-ant-%{cvs_version}
#https://issues.apache.org/bugzilla/show_bug.cgi?id=47669
sed -i -e "s|IMAGE_FILE_TYPE|BINARY_FILE_TYPE|g" src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
# Disable the style and xmlvalidate tasks on ppc64 and s390x (#163689).
%ifarch ppc64 s390x
%patch1 -p1
@ -1313,6 +1314,9 @@ fi
# -----------------------------------------------------------------------------
%changelog
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.7.1-12
- Fix compile with commons-net 2.0.
* Fri Aug 7 2009 Orion Poplawski <orion@cora.nwra.com> - 0:1.1.7-11
- Add links to jar files into %{ant_home} (Bug #179759)
@ -1714,4 +1718,3 @@ fi
* Wed Dec 20 2000 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-1mdk
- first Mandrake release
- used SRPMS from Henri Gomez <hgomez@users.sourceforge.net>