public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: enforce versioned libssh2 dependency for libcurl (#642796)
Date: Mon, 02 Nov 2026 14:27:19 GMT	[thread overview]
Message-ID: <179362963927.1.16441598760724530895.rpms-curl-d12630e4caff@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : d12630e4caff6533ff505711db81c16dce49d977
Author : Paul Howarth <paul@city-fan.org>
Date   : 2010-10-14T15:26:16+01:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/d12630e4caff6533ff505711db81c16dce49d977?branch=curl-v8.21.0-9

Log:
enforce versioned libssh2 dependency for libcurl (#642796)

---
diff --git a/curl.spec b/curl.spec
index 6f80caf..512a5f1 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.21.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -45,6 +45,10 @@ BuildRequires: valgrind
 
 Requires: libcurl = %{version}-%{release}
 
+# require at least the version of libssh2 that we were built against,
+# to ensure that we have the necessary symbols available (#525002, #642796)
+%global libssh2_version %(pkg-config --modversion libssh2 2>/dev/null || echo 0)
+
 %description
 curl is a command line tool for transferring data with URL syntax, supporting
 FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP,
@@ -56,6 +60,7 @@ resume, proxy tunneling and a busload of other useful tricks.
 %package -n libcurl
 Summary: A library for getting files from web servers
 Group: Development/Libraries
+Requires: libssh2%{?_isa} >= %{libssh2_version}
 
 %description -n libcurl
 libcurl is a free and easy-to-use client-side URL transfer library, supporting
@@ -218,6 +223,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Thu Oct 14 2010 Paul Howarth <paul@city-fan.org> 7.21.2-2
+- enforce versioned libssh2 dependency for libcurl (#642796)
+
 * Wed Oct 13 2010 Kamil Dudka <kdudka@redhat.com> 7.21.2-1
 - new upstream release, drop applied patches
 - make 0102-curl-7.21.2-debug.patch less intrusive

                 reply	other threads:[~2026-11-02 14:27 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=179362963927.1.16441598760724530895.rpms-curl-d12630e4caff@fedoraproject.org \
    --to=paul@city-fan.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