Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

'Source' can also be 'Source0' in the spec file

  • Loading branch information...
commit 4420e4a96a5b69ea7addf118ba7b54e9d7b2758c 1 parent 400d0ff
@saschpe saschpe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  git_tarballs
View
2  git_tarballs
@@ -114,7 +114,7 @@ def update_spec_file(package_version, tarball_parent_dir, filename):
contents = re.sub(r'\n((%setup\s+).*)\n',
r'\n\g<2>-q -n %s\n' % tarball_parent_dir,
contents, count=1)
- contents = re.sub(r'\n((Source:\s+).*)\n',
+ contents = re.sub(r'\n((Source0?:\s+).*)\n',
r'\n\g<2>%s\n' % filename,
contents, count=1)
f.write(contents)
Please sign in to comment.
Something went wrong with that request. Please try again.