Add more URL-based source definitions
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user