# Run sbuild with a hack in place to append arbitrary versions
args = ['perl', '-I/usr/share/invirt-dev', '-MSbuildHack',
'/usr/bin/sbuild',
'--binNMU=171717', '--make-binNMU=Build with sbuild',
# Run sbuild with a hack in place to append arbitrary versions
args = ['perl', '-I/usr/share/invirt-dev', '-MSbuildHack',
'/usr/bin/sbuild',
'--binNMU=171717', '--make-binNMU=Build with sbuild',
- '-v', '-d', distro, '--arch', arch]
+ '-v', '-d', distro, '-m', maintainer,
+ '--arch', arch]
- packages = deb822.Changes(open(changes).read())['Binary']
- for package in packages.split():
+ changelog = deb822.Changes(open(changes).read())
+ packages = set(changelog['Binary'].split())
+ packages.add(changelog['Source'])
+ for package in packages:
logAndRun(['reprepro-env', 'remove', apt, package])
logAndRun(upload)
logAndRun(['reprepro-env', 'remove', apt, package])
logAndRun(upload)
database.session.commit()
# Finally, now that everything is done, remove the
database.session.commit()
# Finally, now that everything is done, remove the