This commit is contained in:
Sergey Zhemoytel 2023-10-12 21:23:06 +00:00
parent daa85109cd
commit 26d5b3b8d7
3 changed files with 18 additions and 3 deletions

View file

@ -1,2 +1,2 @@
sources:
curl-7.83.1.tar.gz: 972ea023914ec23c915a380c445052961513c261
curl-8.4.0.tar.gz: ff7c2abb68443bb868da1d7681f558d245c853dd

1
curl.rpmlintrc Normal file
View file

@ -0,0 +1 @@
addFilter("E: devel-dependency")

View file

@ -49,15 +49,16 @@
Summary: Gets a file from a FTP, GOPHER or HTTP server
Name: curl
Version: 7.83.1
Version: 8.4.0
Release: 1
Epoch: 1
License: BSD-like
Group: Networking/Other
URL: https://curl.se/
URL: https://curl.se
# Release tarball does not have some useful docs
#Source0: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
Source0: https://github.com/curl/curl/archive/curl-%(echo %{version} | sed -e 's,\.,_,g').tar.gz?/%{name}-%{version}.tar.gz
Source1000: %{name}.rpmlintrc
Patch0: %{name}-7.59.0-multilib.patch
Patch3: %{name}-libressl.patch
BuildRequires: groff
@ -84,6 +85,8 @@ BuildRequires: pkgconfig(gnutls)
BuildRequires: openssl-devel
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(krb5-gssapi)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(librtmp)
# TODO: Package and enable libpsl support
Requires: %{libname} = %{EVRD}
Provides: webfetch = %{EVRD}
@ -394,8 +397,19 @@ sed -i configure \
--enable-ares \
--enable-tls-srp \
--without-libpsl \
--with-brotli \
--with-librtmp \
--with-nghttp2 \
--with-ngtcp2 \
--with-nghttp3 \
--with-quiche \
--with-msh3 \
--enable-websockets \
$ADD_CONF_OPTS --
#--enable-ech
#--with-hyper
%make
# we don't want them in curl-examples: