projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788664a
)
Added sources when parsing spec
author
Ed Bartosh
<eduard.bartosh@intel.com>
Thu, 19 Apr 2012 10:21:10 +0000
(13:21 +0300)
committer
Ed Bartosh
<eduard.bartosh@intel.com>
Tue, 8 May 2012 12:30:55 +0000
(15:30 +0300)
gbp/rpm/__init__.py
patch
|
blob
|
history
diff --git
a/gbp/rpm/__init__.py
b/gbp/rpm/__init__.py
index 2b8294c88ea8b0d357a4bbbb3bf2256f9a467f53..e29c694fe9d56842117b1d6538d1d70b4d477777 100644
(file)
--- a/
gbp/rpm/__init__.py
+++ b/
gbp/rpm/__init__.py
@@
-209,6
+209,8
@@
class SpecFile(object):
# only add files of patch type
if typ == 2:
self.patches[num] = {'filename': name, 'strip': '0', 'apply': False, 'autoupdate': False}
+ if typ == 1:
+ self.sources[num] = {'filename': name, 'num': num}
# Parse info from spec file
f = file(self.specfile)