debian/lib/python/debian_linux/gencontrol.py: Don't override source name
We set the source package name from debian/changelog, which is not appropriate when generating a source package template for a signed image package. Only set the source package name if it's not in the control template.
This commit is contained in:
parent
f980187986
commit
1d4211ef97
|
@ -95,7 +95,8 @@ class Gencontrol(object):
|
|||
|
||||
def do_source(self, packages):
|
||||
source = self.templates["control.source"][0]
|
||||
source['Source'] = self.changelog[0].source
|
||||
if not source.get('Source'):
|
||||
source['Source'] = self.changelog[0].source
|
||||
packages['source'] = self.process_package(source, self.vars)
|
||||
|
||||
def do_main(self, packages, makefile):
|
||||
|
|
Loading…
Reference in New Issue