- files.append(os.path.join(debDir, "%s_%s_%s.deb" % (binaryName, version, arch)))
- # debug package
- if dbgPackage:
- print(file=f)
- print("Package:",binaryName+"-dbg", file=f)
- print("Section: debug", file=f)
- print("Priority: extra", file=f)
- print("Architecture:",packageArchitecture, file=f)
- writeDependency(f, "Depends", ["${misc:Depends}", binaryName+" (= ${binary:Version})"])
- print("Description:",sourceName,"debug smbols (auto-debuild)", file=f)
- print(" Package containing debug symbols for "+sourceName+", auto-generated by auto-debuild.", file=f)
- files.append(os.path.join(debDir, "%s-dbg_%s_%s.deb" % (binaryName, version, arch)))
+ files.append(os.path.join(debDir, "{}_{}_{}.deb".format(binaryName, version, arch)))
+ files.append(os.path.join(debDir, "{}-dbgsym_{}_{}.deb".format(binaryName, version, arch)))