diff recipes/wince/gnupg/base.py @ 327:f5282057838a

Revisions are now handled as strings
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 17 Mar 2010 13:42:42 +0000
parents 278abafc2d86
children c7d22fd36815
line wrap: on
line diff
--- a/recipes/wince/gnupg/base.py	Wed Mar 17 13:38:37 2010 +0000
+++ b/recipes/wince/gnupg/base.py	Wed Mar 17 13:42:42 2010 +0000
@@ -45,7 +45,7 @@
                            % filename)
 
     def determine_package_version(self, directory):
-        return "%s-svn%d" % (self.orig_source_version(directory), self.revision)
+        return "%s-svn%s" % (self.orig_source_version(directory), self.revision)
     def sign_package(self):
         return None
 
@@ -62,7 +62,7 @@
         # thus could not find the svn revision.
         treepkg.util.replace_in_file(os.path.join(pkgbasedir, "configure"),
                                      re.escape(orig_version) + "-svn0",
-                                     orig_version + "-svn%d" % self.revision)
+                                     orig_version + "-svn%s" % self.revision)
 
         pkgbasename = self.pkg_basename + "_" + pkgbaseversion
         origtargz = os.path.join(self.work_dir,
@@ -70,7 +70,7 @@
         self.create_tarball(origtargz, self.work_dir,
                             os.path.basename(pkgbasedir))
 
-        changemsg = ("Update to SVN rev. %d" % (self.revision,))
+        changemsg = ("Update to SVN rev. %s" % (self.revision,))
         self.copy_debian_directory(pkgbasedir, pkgbaseversion,
                                    changemsg)
 
@@ -191,7 +191,7 @@
         self.create_original_tarball()
         orig_dir = self.create_orig_dir()
 
-        changemsg = ("Update to SVN rev. %d" % (self.revision,))
+        changemsg = ("Update to SVN rev. %s" % (self.revision,))
         self.copy_debian_directory(orig_dir, self.pkgbaseversion, changemsg)
 
         self.create_source_package(orig_dir, self.origtargz)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)