diff --git a/lftp.spec b/lftp.spec index a3435b3..288a507 100644 --- a/lftp.spec +++ b/lftp.spec @@ -1,13 +1,13 @@ Summary: A sophisticated file transfer program Name: lftp Version: 3.5.10 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: Applications/Internet Source0: ftp://ftp.yar.ru/lftp/lftp-%{version}.tar.gz URL: http://lftp.yar.ru/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: ncurses-devel, openssl-devel, pkgconfig, readline-devel, autoconf, automake, libtool, gettext +BuildRequires: ncurses-devel, openssl-devel, pkgconfig, readline-devel, libtool, gettext %description LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job @@ -15,13 +15,6 @@ control and uses the readline library for input. It has bookmarks, built-in mirroring, and can transfer several files in parallel. It is designed with reliability in mind. -%package devel -Summary: Headers and static libraries for lftp development -Group: Development/Libraries - -%description devel -This package contains the header files, and static libraries for building lftp. - %prep %setup -q @@ -31,7 +24,7 @@ if pkg-config openssl ; then LDFLAGS=`pkg-config --libs-only-L openssl`; export LDFLAGS fi LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"; export LDFLAGS -%configure --with-modules --disable-static --with-openssl=/usr --with-debug +%configure --with-modules --disable-static --with-openssl=/usr --with-debug --disable-rpath export tagname=CC make LIBTOOL=%{_bindir}/libtool %{?_smp_mflags} @@ -61,13 +54,10 @@ exit 0 %clean rm -rf $RPM_BUILD_ROOT -%post -/sbin/chkconfig --add lftp -/sbin/ldconfig +%post -p /sbin/ldconfig %postun if [ "$1" = 0 ]; then -/sbin/chkconfig --del lftp /sbin/ldconfig fi exit 0 @@ -91,13 +81,16 @@ exit 0 %{_libdir}/lftp/%{version}/proto-http.so %{_libdir}/lftp/%{version}/proto-sftp.so %{_libdir}/lftp/%{version}/liblftp-getdate.so - -%files devel -%defattr(-,root,root,-) %{_libdir}/liblftp-jobs* %{_libdir}/liblftp-tasks* %changelog +* Wed Apr 11 2007 Maros Barabas - 3.5.10-3 +- Correct mistake removing devel package & calling chkconfig +- Resolves #235436 +- Removing automake autoconf +- Resolves #225984 + * Wed Apr 04 2007 Maros Barabas - 3.5.10-2 - Merge review fix - Resolves #225984 @@ -177,8 +170,8 @@ exit 0 bug 171096 : 'mget files in lftp causes abort' (core dump actually) resulted from not doing so . See http://lftp.yar.ru : - Recent events: - 2005-10-17: lftp-3.3.2 released. Fixed a coredump caused by double-free. + Recent events:2005-10-17: + lftp-3.3.2 released. Fixed a coredump caused by double-free. * Sat Oct 15 2005 Florian La Roche - 3.3.1-1 - 3.3.1