public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Owen Zimmerman <owen@fyralabs.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] rawhide: Enable zstd compression in full config, disable in minimal
Date: Mon, 03 Aug 2026 06:39:50 GMT [thread overview]
Message-ID: <178573919057.1.3114628105852655943.rpms-curl-9f1f3fca78c4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : rawhide
Commit : 9f1f3fca78c48dae018fa9bf19228903887564aa
Author : Owen Zimmerman <owen@fyralabs.com>
Date : 2026-08-02T17:33:26-05:00
Stats : +14/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/9f1f3fca78c48dae018fa9bf19228903887564aa?branch=rawhide
Log:
Enable zstd compression in full config, disable in minimal
Signed-off-by: Owen-sz <owen@fyralabs.com>
---
diff --git a/curl.spec b/curl.spec
index ce1c90e..249ef18 100644
--- a/curl.spec
+++ b/curl.spec
@@ -13,7 +13,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 8.21.0
-Release: 3%{?dist}
+Release: 4%{?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
@@ -54,6 +54,7 @@ BuildRequires: libnghttp3-devel
BuildRequires: libpsl-devel
BuildRequires: libssh-devel
BuildRequires: libtool
+BuildRequires: libzstd-devel
BuildRequires: make
%if %{with http3}
BuildRequires: ngtcp2-crypto-ossl-devel
@@ -170,13 +171,17 @@ Requires: libcurl%{?_isa} >= %{version}-%{release}
# (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|-|~|')
+# require at least the version of libzstd that we were built against,
+# to ensure that we have the necessary symbols available
+%global libzstd_version %(pkg-config --modversion libzstd 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,
SMTP, POP3 and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP
uploading, HTTP form based upload, proxies, cookies, user+password
authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer
-resume, proxy tunneling and a busload of other useful tricks.
+resume, proxy tunneling and a busload of other useful tricks.
%package -n libcurl
Summary: A library for getting files from web servers
@@ -192,6 +197,7 @@ Requires: ngtcp2%{?_isa} >= %{ngtcp2_version}
Requires: openssl-libs%{?_isa} >= 1:%{openssl_version}
Provides: libcurl-full = %{version}-%{release}
Provides: libcurl-full%{?_isa} = %{version}-%{release}
+Requires: libzstd%{?_isa} >= %{libzstd_version}
%description -n libcurl
libcurl is a free and easy-to-use client-side URL transfer library, supporting
@@ -295,7 +301,6 @@ export common_configure_opts=" \
--enable-ipv6 \
--enable-symbol-hiding \
--enable-threaded-resolver \
- --without-zstd \
--with-gssapi \
--with-libidn2 \
--with-nghttp2 \
@@ -327,7 +332,8 @@ export common_configure_opts=" \
--without-libpsl \
--without-libssh \
--without-nghttp3 \
- --without-ngtcp2
+ --without-ngtcp2 \
+ --without-zstd
)
# configure full build
@@ -352,6 +358,7 @@ export common_configure_opts=" \
--with-brotli \
--with-libpsl \
--with-libssh \
+ --with-zstd \
%if %{with http3}
--with-nghttp3 \
--with-ngtcp2 \
@@ -467,6 +474,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
+* Tue Jul 21 2026 Owen Zimmerman <owen@fyralabs.com> - 8.21.0-4
+- Enable zstd in full config
+
* Mon Jul 20 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-3
- explicitly disable HTTP/3 support in the minimal build
reply other threads:[~2026-08-03 6:39 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=178573919057.1.3114628105852655943.rpms-curl-9f1f3fca78c4@fedoraproject.org \
--to=owen@fyralabs.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