--- lftp.spec	Thu Feb 17 02:55:48 2000
+++ lftp.new.spec	Sun Feb 20 12:18:32 2000
@@ -1,5 +1,6 @@
 %define name lftp
-%define version 2.1.7
+%define oldversion 2.1.7
+%define version 2.1.8
 %define release 1mdk
 %define url ftp.yars.free.net:/pub/software/unix/net/ftp/client/
 
@@ -7,11 +8,13 @@
 Name: %{name}
 Version: %{version}
 Release: %{release}
-Source: %{url}/%{name}-%{version}.tar.bz2
+Source: %{url}/%{name}-%{oldversion}.tar.bz2
+
 URL: http://ftp.yars.free.net/projects/lftp/
 Patch0: lftp.passive.patch.bz2
+Patch1: lftp-2.1.7-2.1.8.diff.bz2
 Group: Applications/Internet
-BuildRoot: /tmp/%{name}-buiildroot
+BuildRoot: /tmp/%{name}-buildroot
 Copyright: GPL
 Prefix: %{_prefix}
 
@@ -28,10 +31,12 @@
 %prep
 rm -rf $RPM_BUILD_ROOT
 
-%setup
-%patch -p0 -b .passive
+%setup -q -n %{name}-%{oldversion}
+
+%patch0 -p0 -b .passive
+%patch1 -p1 -b .newver
 
-%build -n %{name}-%{version}
+%build -n %{name}-%{oldversion}
 export CXXFLAGS="$RPM_OPT_FLAGS"
 %configure --with-modules --enable-nls
 
@@ -64,6 +69,10 @@
 %{prefix}/share/*/*/*/*
 
 %changelog
+* Sun Feb 20 2000 Geoffrey Lee <snailtalk@linux-mandrake.com>
+- new version 2.1.8
+- fix insignificant typo in spec file
+
 * Wed Feb 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.1.7-1mdk
 - 2.1.7.
 
