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:
00799d7
)
UpstreamSource: tgz is suitable as upstream tarball.
author
Guido Günther
<agx@sigxcpu.org>
Tue, 7 Feb 2012 22:12:45 +0000
(23:12 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Tue, 7 Feb 2012 22:24:02 +0000
(23:24 +0100)
gbp/deb/__init__.py
patch
|
blob
|
history
diff --git
a/gbp/deb/__init__.py
b/gbp/deb/__init__.py
index
e4c1f80
..
75d39d3
100644
(file)
--- a/
gbp/deb/__init__.py
+++ b/
gbp/deb/__init__.py
@@
-126,7
+126,9
@@
class UpstreamSource(object):
parts = self._path.split('.')
try:
- if parts[-2] == 'tar':
+ if parts[-1] == 'tgz':
+ self._orig = True
+ elif parts[-2] == 'tar':
if (parts[-1] in compressor_opts or
parts[-1] in compressor_aliases):
self._orig = True