public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: Rebuilt for openssl-4.0.0~beta1
@ 2026-11-02 14:32 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-02 14:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.21.0-9
            Commit : e0bbb8bb2a1e0c95aafa947d3ac9f6a2ad23291b
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-04-13T13:33:47-04:00
            Stats  : +6/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/e0bbb8bb2a1e0c95aafa947d3ac9f6a2ad23291b?branch=curl-v8.21.0-9

            Log:
            Rebuilt for openssl-4.0.0~beta1

Unlike with 3.0 prereleases, 4.0 is using complex versioning, and so the
openssl_version handling needs to be updated accordingly.

---
diff --git a/curl.spec b/curl.spec
index efa5179..88db414 100644
--- a/curl.spec
+++ b/curl.spec
@@ -12,7 +12,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 8.20.0~rc2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: curl
 Source0: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz.asc
@@ -170,8 +170,8 @@ Requires: libcurl%{?_isa} >= %{version}-%{release}
 
 # require at least the version of openssl-libs that we were built against,
 # to ensure that we have the necessary symbols available (#1462184, #1462211)
-# (we need to translate 3.0.0-alpha16 -> 3.0.0-0.alpha16 and 3.0.0-beta1 -> 3.0.0-0.beta1 though)
-%global openssl_version %({ pkg-config --modversion openssl 2>/dev/null || echo 0;} | sed 's|-|-0.|')
+# (we need to translate 4.0.0-beta1 -> 4.0.0~beta1 though)
+%global openssl_version %({ pkg-config --modversion openssl 2>/dev/null || echo 0;} | sed 's|-|~|')
 
 %description
 curl is a command line tool for transferring data with URL syntax, supporting
@@ -467,6 +467,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Mon Apr 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 8.20.0~rc2-2
+- Rebuilt for openssl-4.0.0~beta1
+
 * Mon Apr 13 2026 Jan Macku <jamacku@redhat.com> - 8.20.0~rc2-1
 - new upstream release candidate
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:32 [rpms/curl] curl-v8.21.0-9: Rebuilt for openssl-4.0.0~beta1 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox