From ee7deec1f122d1c0ae02a02dc6f726bbe9e3c9d5 Mon Sep 17 00:00:00 2001
From: Scott Moser <smoser@ubuntu.com>
Date: Tue, 10 Jul 2012 17:30:20 -0400
Subject: debian packaging: use X.Y.Z~bzrREVNO rather than X.Y.Z~REVNO

The ubuntu packaging uses ~bzrREVNO, just be more like that.
---
 packages/bddeb               | 2 +-
 packages/debian/changelog.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages')

diff --git a/packages/bddeb b/packages/bddeb
index ddc0776f..2ecae933 100755
--- a/packages/bddeb
+++ b/packages/bddeb
@@ -131,7 +131,7 @@ def main():
 
         # The naming here seems to follow some debian standard
         # so it will whine if it is changed...
-        tar_fn = "cloud-init_%s~%s.orig.tar.gz" % (version, revno)
+        tar_fn = "cloud-init_%s~bzr%s.orig.tar.gz" % (version, revno)
         print("Archiving the adjusted source into %r" %
               (util.abs_join(tdir, tar_fn)))
         cmd = ['tar', '-czvf', 
diff --git a/packages/debian/changelog.in b/packages/debian/changelog.in
index eda08c57..e3e94f54 100644
--- a/packages/debian/changelog.in
+++ b/packages/debian/changelog.in
@@ -1,5 +1,5 @@
 ## This is a cheetah template
-cloud-init (${version}~${revision}-1) UNRELEASED; urgency=low
+cloud-init (${version}~bzr${revision}-1) UNRELEASED; urgency=low
 
   * build
 
-- 
cgit v1.2.3