diff --git a/curl-8.0.1.tar.xz b/curl-8.0.1.tar.xz deleted file mode 100644 index b7620db19d05ff53ff85d49c37735208d767ce1e..0000000000000000000000000000000000000000 Binary files a/curl-8.0.1.tar.xz and /dev/null differ diff --git a/curl-8.1.0.tar.xz b/curl-8.1.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..3360a3a1e6e6d795da2997c3f58411b4714cf1b0 Binary files /dev/null and b/curl-8.1.0.tar.xz differ diff --git a/curl.spec b/curl.spec index 8f1cf963906db364c3f5b948db4d5449c19ea376..3f2dd71193cb604e3d6b034240b1f56736792d48 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ -%define anolis_release 2 +%define anolis_release 1 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl -Version: 8.0.1 +Version: 8.1.0 Release: %{anolis_release}%{?dist} License: MIT Source0: https://curl.se/download/%{name}-%{version}.tar.xz @@ -59,6 +59,7 @@ BuildRequires: hostname BuildRequires: nghttp2 # perl modules used in the test suite +BuildRequires: perl(base) BuildRequires: perl(Cwd) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Digest::SHA) @@ -68,6 +69,7 @@ BuildRequires: perl(File::Copy) BuildRequires: perl(File::Spec) BuildRequires: perl(IPC::Open2) BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Memoize) BuildRequires: perl(Time::Local) BuildRequires: perl(Time::HiRes) BuildRequires: perl(vars) @@ -85,22 +87,6 @@ BuildRequires: valgrind # using an older version of libcurl could result in CURLE_UNKNOWN_OPTION Requires: libcurl >= %{version}-%{release} -# require at least the version of libpsl that we were built against, -# to ensure that we have the necessary symbols available (#1631804) -%global libpsl_version %(pkg-config --modversion libpsl 2>/dev/null || echo 0) - -# 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) -# (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, @@ -111,11 +97,11 @@ resume, proxy tunneling and a busload of other useful tricks. %package -n libcurl Summary: A library for getting files from web servers -Requires: libpsl >= %{libpsl_version} -Requires: libssh >= %{libssh_version} -Requires: openssl-libs >= 1:%{openssl_version} +Requires: libpsl >= %{installed_version_of libpsl} +Requires: libssh >= %{installed_version_of libssh} +Requires: openssl-libs >= %{installed_version_of openssl-libs} Provides: libcurl-full = %{version}-%{release} -Requires: libnghttp2 >= %{libnghttp2_version} +Requires: libnghttp2 >= %{installed_version_of libnghttp2} %description -n libcurl libcurl is a free and easy-to-use client-side URL transfer library, supporting @@ -154,7 +140,7 @@ be installed. %package -n libcurl-minimal Summary: Conservatively configured build of libcurl for minimal installations -Requires: openssl-libs >= 1:%{openssl_version} +Requires: openssl-libs >= %{installed_version_of openssl-libs} Provides: libcurl = %{version}-%{release} Conflicts: libcurl RemovePathPostfixes: .minimal @@ -378,6 +364,9 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/fish %doc docs/TheArtOfHttpScripting.md %changelog +* Wed May 17 2023 Funda Wang - 8.1.0-1 +- New version 8.1.0 + * Mon Mar 27 2023 mgb01105731 - 8.0.1-2 - Del Specific Fields