aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb/policy.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb/policy.py')
-rw-r--r--gbp/deb/policy.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gbp/deb/policy.py b/gbp/deb/policy.py
index 6664f4ff..d05d05cb 100644
--- a/gbp/deb/policy.py
+++ b/gbp/deb/policy.py
@@ -96,3 +96,11 @@ class DebianPkgPolicy(PkgPolicy):
if dir:
tarball = os.path.join(dir, tarball)
return tarball
+
+ @staticmethod
+ def build_signature_name(*args, **kwargs):
+ """
+ Given a source package's I{name}, I{version} and I{compression}
+ return the name of the corresponding upstream tarball signature file.
+ """
+ return DebianPkgPolicy.build_tarball_name(*args, **kwargs) + '.asc'