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.23.0-3: Update scriptlets, enforce versioned libssh dependency
Date: Tue, 03 Nov 2026 12:36:55 GMT [thread overview]
Message-ID: <179370941534.1.12155023552001089072.rpms-curl-a16f4de7a219@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : a16f4de7a219f90e075e3871b41072b3c00639a7
Author : Paul Howarth <paul@city-fan.org>
Date : 2018-02-15T09:57:54+00:00
Stats : +13/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/a16f4de7a219f90e075e3871b41072b3c00639a7?branch=curl-v8.23.0-3
Log:
Update scriptlets, enforce versioned libssh dependency
- switch to %ldconfig_scriptlets
- drop legacy BuildRoot: and Group: tags
- enforce versioned libssh dependency for libcurl
---
diff --git a/curl.spec b/curl.spec
index 8b8d641..26c56f3 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,9 +1,8 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.58.0
-Release: 5%{?dist}
+Release: 6%{?dist}
License: MIT
-Group: Applications/Internet
Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
# patch making libcurl multilib ready
@@ -69,6 +68,10 @@ BuildRequires: valgrind
# using an older version of libcurl could result in CURLE_UNKNOWN_OPTION
Requires: libcurl%{?_isa} >= %{version}-%{release}
+# require at least the version of libssh that we were built against,
+# to ensure that we have the necessary symbols available (#525002, #642796)
+%global libssh_version %(pkg-config --modversion libssh 2>/dev/null || echo 0)
+
# require at least the version of openssl-libs that we were built against,
# to ensure that we have the necessary symbols available (#1462184, #1462211)
%global openssl_version %(pkg-config --modversion openssl 2>/dev/null || echo 0)
@@ -83,7 +86,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: libssh%{?_isa} >= %{libssh_version}
Requires: openssl-libs%{?_isa} >= 1:%{openssl_version}
Provides: libcurl-full = %{version}-%{release}
Provides: libcurl-full%{?_isa} = %{version}-%{release}
@@ -98,7 +101,6 @@ resume, http proxy tunneling and more.
%package -n libcurl-devel
Summary: Files needed for building applications with libcurl
-Group: Development/Libraries
Requires: libcurl%{?_isa} = %{version}-%{release}
Provides: curl-devel = %{version}-%{release}
@@ -251,13 +253,9 @@ LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH" \
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
-%post -n libcurl -p /sbin/ldconfig
-
-%postun -n libcurl -p /sbin/ldconfig
+%ldconfig_scriptlets -n libcurl
-%post -n libcurl-minimal -p /sbin/ldconfig
-
-%postun -n libcurl-minimal -p /sbin/ldconfig
+%ldconfig_scriptlets -n libcurl-minimal
%files
%doc CHANGES README*
@@ -294,6 +292,11 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.[0-9].[0-9].[0-9].minimal
%changelog
+* Thu Feb 15 2018 Paul Howarth <paul@city-fan.org> - 7.58.0-6
+- switch to %%ldconfig_scriptlets
+- drop legacy BuildRoot: and Group: tags
+- enforce versioned libssh dependency for libcurl
+
* Tue Feb 13 2018 Kamil Dudka <kdudka@redhat.com> - 7.58.0-5
- drop temporary workaround for #1540549
reply other threads:[~2026-11-03 12:36 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=179370941534.1.12155023552001089072.rpms-curl-a16f4de7a219@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