- fix library paths (#432468)

This commit is contained in:
Martin Nagy 2008-02-12 09:55:54 +00:00
parent 16aafc0230
commit e9145bf501

View File

@ -1,7 +1,7 @@
Summary: A sophisticated file transfer program
Name: lftp
Version: 3.6.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: Applications/Internet
Source0: ftp://ftp.yar.ru/lftp/lftp-%{version}.tar.gz
@ -44,6 +44,8 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.so
iconv -f ISO88591 -t UTF8 NEWS -o NEWS.tmp
touch -r NEWS NEWS.tmp
mv -f NEWS.tmp NEWS
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
echo "%{_libdir}/lftp/%{version}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
# Remove files from $RPM_BUILD_ROOT that we aren't shipping.
rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/liblftp-jobs.*a
@ -81,8 +83,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lftp/%{version}/liblftp-getdate.so
%{_libdir}/liblftp-jobs*
%{_libdir}/liblftp-tasks*
%config /etc/ld.so.conf.d/*
%changelog
* Tue Feb 12 2008 Martin Nagy <mnagy@redhat.com> - 3.6.1-2
- fix library paths (#432468)
* Mon Feb 11 2008 Martin Nagy <mnagy@redhat.com> - 3.6.1-1
- upgrade to upstream version 3.6.1
- remove rpath and make some spec file changes for review (#225984)