From 0c9adba11f3e4ab62c8bf9afd6bb10b741f2c55e Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Fri, 17 Feb 2023 16:57:49 +0800 Subject: [PATCH] require at least the version of nghttp2 that built with fix https://bugzilla.openanolis.cn/show_bug.cgi?id=4106 Signed-off-by: Chunmei Xu --- curl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/curl.spec b/curl.spec index a3f11c3..561a4c2 100644 --- a/curl.spec +++ b/curl.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Version: 7.88.0 @@ -102,6 +102,9 @@ Requires: libcurl >= %{version}-%{release} # (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.|') +# require at least the version of nghttp2 that built with. +%global libnghttp2_version %(pkg-config --modversion libnghttp2 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, @@ -116,6 +119,7 @@ Requires: libpsl >= %{libpsl_version} Requires: libssh >= %{libssh_version} Requires: openssl-libs >= 1:%{openssl_version} Provides: libcurl-full = %{version}-%{release} +Requires: libnghttp2 >= %{libnghttp2_version} %description -n libcurl libcurl is a free and easy-to-use client-side URL transfer library, supporting @@ -379,6 +383,9 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/fish %doc docs/TheArtOfHttpScripting.md %changelog +* Fri Feb 17 2023 Chunmei Xu - 7.88.0-2 +- require at least the version of nghttp2 that built with + * Wed Feb 15 2023 Funda Wang - 7.88.0-1 - New version 7.88.0 -- Gitee