remove openssl related code, now that openssl isn't used anymore
This commit is contained in:
parent
5ed7dac8de
commit
292e9b2aa8
@ -17,16 +17,12 @@ reliability in mind.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i.rpath -e '/lftp_cv_openssl/s|-R.*lib||' configure
|
||||
#sed -i.rpath -e '/lftp_cv_openssl/s|-R.*lib||' configure
|
||||
sed -i.norpath -e \
|
||||
'/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib64 |' \
|
||||
configure
|
||||
|
||||
%build
|
||||
if pkg-config openssl ; then
|
||||
CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS
|
||||
LDFLAGS=`pkg-config --libs-only-L openssl`; export LDFLAGS
|
||||
fi
|
||||
%configure --with-modules --disable-static --with-gnutls --without-openssl --with-debug
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -37,7 +33,7 @@ make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
||||
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/*
|
||||
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.so
|
||||
iconv -f ISO88591 -t UTF8 NEWS -o NEWS.tmp
|
||||
touch -r NEWS NEWS.tmp
|
||||
touch -c -r NEWS NEWS.tmp
|
||||
mv NEWS.tmp NEWS
|
||||
# Remove files from $RPM_BUILD_ROOT that we aren't shipping.
|
||||
#rm $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.la
|
||||
|
||||
Loading…
Reference in New Issue
Block a user