From 3c2c2e9f3493f581abf44c00dfa34509362f6bb2 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Aug 11 2008 23:54:38 +0000 Subject: Add mini library for libcurl.so.3, flash10 needs this. All it does is point to libcurl.so.4. --- diff --git a/curl.spec b/curl.spec index 13aecb8..ab6a271 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Version: 7.18.2 -Release: 1%{?dist} +Release: 3%{?dist} License: MIT Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2 @@ -81,6 +81,12 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la install -d $RPM_BUILD_ROOT/%{_datadir}/aclocal install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal +# Yes, they're the same. Curl accidentally bumped the .soname to .4, it is the same ABI as .3. +# We'll use a little trickery to get what we need, since a symlink won't properly populate +# the rpm dependencies. Credit to Nalin Dahyabhai and Casey Dahlin here. +touch libcurl.so.3.c +gcc $RPM_OPT_FLAGS -shared -L${RPM_BUILD_ROOT}%{_libdir} -lcurl libcurl.so.3.c -o libcurl.so.3 +install -p libcurl.so.3 $RPM_BUILD_ROOT%{_libdir} # don't need curl's copy of the certs; use openssl's find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \; @@ -117,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/libcurl.m4 %changelog +* Mon Aug 11 2008 Tom "spot" Callaway 7.18.2-3 +- make miniature library for libcurl.so.3 + * Wed Jun 18 2008 Jindrich Novy 7.18.2-2 - update to 7.18.2 - fix curl_multi_perform() over a proxy (#450140), thanks to