Add more URL-based source definitions

This commit is contained in:
2026-03-28 12:26:24 +01:00
parent d19532153e
commit eed0a4a3e5
+1 -1
View File
@@ -33,7 +33,7 @@ runs:
[ "$SPECFILE" == "" ] && echo Could\'t find a singular spec file to use && exit 1
echo Specfile is $SPECFILE
if [ "$(grep -iPc 'source\d*:\s*(https?|ftps?)://' $SPECFILE)" != "0" ]; then
if [ "$(grep -iPc 'source\d*:\s*(https?://|ftps?://|%{?pypi_source|%{?crates_source|%{?forgesource)' "$SPECFILE")" != "0" ]; then
echo Downloading source archive
spectool -g $SPECFILE
fi