Permalink
Browse files

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

  • Loading branch information...
1 parent 400d0ff commit 4420e4a96a5b69ea7addf118ba7b54e9d7b2758c @saschpe saschpe committed Dec 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_tarballs
View
@@ -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)

0 comments on commit 4420e4a

Please sign in to comment.