diff options
-rwxr-xr-x | gbp/scripts/buildpackage_rpm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index c47e4d06..dcfa3ace 100755 --- a/gbp/scripts/buildpackage_rpm.py +++ b/gbp/scripts/buildpackage_rpm.py @@ -620,7 +620,8 @@ def main(argv): tree, options.orig_prefix, options.comp_level, options.with_submodules): - raise GbpError, "Cannot create source tarball at '%s'" % export_dir + raise GbpError("Cannot create source tarball at '%s'" % + source_dir) # Non-native packages: create orig tarball from upstream elif spec.orig_src: prepare_upstream_tarball(repo, spec, options, source_dir) |