This commit is contained in:
Sergey Zhemoytel 2024-09-18 08:04:49 +00:00
parent fb8f511af1
commit 1bc3c42550
2 changed files with 9 additions and 8 deletions

View file

@ -1,2 +1,2 @@
sources:
curl-8.10.0.tar.gz: 53c61d6a7490197c8ea3804d4fc9b93e9722541e
curl-8.10.1.tar.gz: e9527d9a8f08e96c531a79d684322b9cc4fc2faf

View file

@ -68,7 +68,7 @@
Summary: Gets a file from a FTP, GOPHER or HTTP server
Name: curl
Version: 8.10.0
Version: 8.10.1
Release: 1
Epoch: 1
License: BSD-like
@ -452,10 +452,11 @@ Example files for %{name} development.
%prep
%setup -q -n curl-curl-%(echo %{version} | sed -e 's,\.,_,g')
cp libcurl.pc.in libcurl.pc.in.0
%patch3 -p1
%patch4 -p1
#patch3 -p1
#patch4 -p1
#apply_patches
# Prevent configure script from discarding -g in CFLAGS
# https://bugzilla.redhat.com/show_bug.cgi?id=496778
for i in flags_dbg_all flags_opt_all flags_opt_yes flags_dbg_yes
@ -475,12 +476,12 @@ done
sed -i -e 's,-DEV\",\",' include/curl/curlver.h
# %%_docs copy docs/*.md, remove odd ones
rm -fv docs/README.md
#rm -fv docs/README.md
# build scripts seem to remove useful files, backup them
mkdir -p _docs/
rsync -av --relative --progress $(echo "%_docs" | sed -e 's,%doc,,g' -e 's,_docs/,,g') _docs/
#mkdir -p _docs/
#rsync -av --relative --progress $(echo "%_docs" | sed -e 's,%doc,,g' -e 's,_docs/,,g') _docs/
rm -fr $(ls -1v | grep -vE "${regexp}|docs|COPYING|CHANGES")
#rm -fr $(ls -1v | grep -vE "${regexp}|docs|COPYING|CHANGES")
%build
%setup_compile_flags