public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: make curl-minimal require a new enough version of libcurl
Date: Mon, 02 Nov 2026 14:29:34 GMT	[thread overview]
Message-ID: <179362977494.1.16995154172380969851.rpms-curl-f7041f17bfb5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.21.0-9
            Commit : f7041f17bfb58b8bed1ccb7b21f8846b6c966020
            Author : Kamil Dudka <kdudka@redhat.com>
            Date   : 2017-05-04T12:42:41+02:00
            Stats  : +9/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/f7041f17bfb58b8bed1ccb7b21f8846b6c966020?branch=curl-v8.21.0-9

            Log:
            make curl-minimal require a new enough version of libcurl

At the same time relax the dependency of curl on libcurl to support
running old curl on top of new libcurl but not vice versa.

---
diff --git a/curl.spec b/curl.spec
index 1972bf3..b7e3d37 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.54.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: https://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -64,7 +64,8 @@ BuildRequires: perl(vars)
 BuildRequires: valgrind
 %endif
 
-Requires: libcurl%{?_isa} = %{version}-%{release}
+# using an older version of libcurl could result in CURLE_UNKNOWN_OPTION
+Requires: libcurl%{?_isa} >= %{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)
@@ -111,6 +112,9 @@ Provides: curl = %{version}-%{release}
 Conflicts: curl
 RemovePathPostfixes: .minimal
 
+# using an older version of libcurl could result in CURLE_UNKNOWN_OPTION
+Requires: libcurl%{?_isa} >= %{version}-%{release}
+
 %description -n curl-minimal
 This is a replacement of the 'curl' package for minimal installations.  It
 comes with a limited set of features compared to the 'curl' package.  On the
@@ -292,6 +296,9 @@ install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal
 %{_libdir}/libcurl.so.[0-9].[0-9].[0-9].minimal
 
 %changelog
+* Thu May 04 2017 Kamil Dudka <kdudka@redhat.com> 7.54.0-4
+- make curl-minimal require a new enough version of libcurl
+
 * Thu Apr 27 2017 Kamil Dudka <kdudka@redhat.com> 7.54.0-3
 - switch the TLS backend back to OpenSSL (#1445153)
 

                 reply	other threads:[~2026-11-02 14:29 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=179362977494.1.16995154172380969851.rpms-curl-f7041f17bfb5@fedoraproject.org \
    --to=kdudka@redhat.com \
    --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