rpms/curl/F-8 curl.spec,1.65,1.66

Tom Callaway (spot) fedora-extras-commits at redhat.com
Mon Aug 11 23:55:08 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/curl/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15345/F-8

Modified Files:
	curl.spec 
Log Message:

Add mini library for libcurl.so.3, flash10 needs this. All it does is point to libcurl.so.4.



Index: curl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/curl/F-8/curl.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- curl.spec	19 Jun 2008 05:33:25 -0000	1.65
+++ curl.spec	11 Aug 2008 23:54:37 -0000	1.66
@@ -4,7 +4,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.18.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -78,6 +78,12 @@
 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 '{}' \;
@@ -112,6 +118,9 @@
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa at redhat.com> 7.18.2-2
+- make miniature library for libcurl.so.3
+
 * Thu Jun 19 2008 Jindrich Novy <jnovy at redhat.com> 7.18.2-1
 - update to 7.18.2 (fixes #397911)
 - fix curl_multi_perform() over a proxy (#450140), thanks to




More information about the fedora-extras-commits mailing list