diff --git a/curl.spec b/curl.spec index c9f1203..05e072e 100644 --- a/curl.spec +++ b/curl.spec @@ -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