public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Callaway <spot@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: Add mini library for libcurl.so.3, flash10 needs this. All it does is point
Date: Mon, 02 Nov 2026 14:26:01 GMT	[thread overview]
Message-ID: <179362956175.1.4957680172326742859.rpms-curl-e45b52e07234@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/curl
        Branch : curl-v8.21.0-9
        Commit : e45b52e07234f7b2d0d1de81fb552739ab749c62
        Author : Tom Callaway <spot@fedoraproject.org>
        Date   : 2008-08-11T23:54:38+00:00
        Stats  : +12/-1 in 1 file(s)
        URL    : https://src.fedoraproject.org/rpms/curl/c/e45b52e07234f7b2d0d1de81fb552739ab749c62?branch=curl-v8.21.0-9

        Log:
        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 d1f22b1..73d9aee 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: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -78,6 +78,14 @@ rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install
 
 rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
+
+# 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}
+
 install -d $RPM_BUILD_ROOT/%{_datadir}/aclocal
 install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
 
@@ -117,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 7.18.2-4
+- make miniature library for libcurl.so.3
+
 * Wed Jul  4 2008 Jindrich Novy <jnovy@redhat.com> 7.18.2-3
 - enable support for libssh2 (#453958)
 

                 reply	other threads:[~2026-11-02 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179362956175.1.4957680172326742859.rpms-curl-e45b52e07234@fedoraproject.org \
    --to=spot@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox