Commit 7e73e195 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: allow Source0 too

parent fca3b32c
......@@ -230,7 +230,7 @@ function get_source_vcs()
local SN="$2"
# only for first source
[ "$SN" = "Source" ] || return 1
[ "$SN" = "Source" ] || [ "$SN" = "Source0" ] || return 1
local vcs="$(grep -i "^VCS:" $SPEC | head -n1 | sed -e 's|VCS:[[:space:]]*||I')"
if [ -z "$vcs" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment