mirror of
https://abf.rosa.ru/djam/curl.git
synced 2025-02-23 15:52:59 +00:00
remove "-DEV" from useragent ("curl/7.74.0-DEV" -> "curl/7.74.0")
This commit is contained in:
parent
f93ec7ad6c
commit
bc804a7d20
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
Summary: Gets a file from a FTP, GOPHER or HTTP server
|
||||
Name: curl
|
||||
Version: 7.74.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Epoch: 1
|
||||
License: BSD-like
|
||||
Group: Networking/Other
|
||||
|
@ -222,6 +222,9 @@ for i in %{ssl_list}; do
|
|||
cp -r $(ls -1v | grep -vE "$regexp") "$i"/
|
||||
done
|
||||
|
||||
# remove "-DEV" from useragent ("curl/7.74.0-DEV" -> "curl/7.74.0")
|
||||
sed -i -e 's,-DEV\",\",' include/curl/curlver.h
|
||||
|
||||
# %%_docs copy docs/*.md, remove odd ones
|
||||
rm -fv docs/README.md
|
||||
# build scripts seem to remove useful files, backup them
|
||||
|
|
Loading…
Add table
Reference in a new issue