diff --git a/curl.spec b/curl.spec index 8fbc7e4..ba6fd34 100644 --- a/curl.spec +++ b/curl.spec @@ -2,11 +2,12 @@ %global libpsl_version %(pkg-config --modversion libpsl 2>/dev/null || echo 0) %global libssh_version %(pkg-config --modversion libssh 2>/dev/null || echo 0) %global openssl_version %({ pkg-config --modversion openssl 2>/dev/null || echo 0;} | sed 's|-|-0.|') +%global libnghttp2_version %(pkg-config --modversion libnghttp2 2>/dev/null || echo 0) %global _configure ../configure Name: curl Version: 8.4.0 -Release: 3 +Release: 4 Summary: Curl is used in command lines or scripts to transfer data License: curl URL: https://curl.se/ @@ -50,6 +51,7 @@ command-line tool (curl) for transferring data using various protocols. Summary: A library for getting files from web servers Requires: libssh >= %{libssh_version} libpsl >= %{libpsl_version} Requires: openssl-libs >= 1:%{openssl_version} +Requires: libnghttp2 >= %{libnghttp2_version} Provides: libcurl-full = %{version}-%{release} Conflicts: curl < 7.66.0-3 @@ -208,6 +210,12 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la %{_mandir}/man3/* %changelog +* Wed Jun 12 2024 zhouyihang - 8.4.0-4 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add version require of nghttp2 for libcurl + * Thu May 09 2024 baiguo - 8.4.0-3 - DESC: tool_cb_rea: limit rate unpause for -T . uploads