Change HB.version from "svnXXXX" to "XXXXsvn"
authorjstebbins <jstebbins.hb@gmail.com>
Wed, 13 Apr 2011 18:19:36 +0000 (18:19 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Wed, 13 Apr 2011 18:19:36 +0000 (18:19 +0000)
This fixes an issue with packaging for Ubuntu 11.04.  The packaging tool
now requires that version numbers start with a digit.  They used to just
issue a warning.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3919 b64f7644-9d1e-0410-96f1-a4d463321fa5

make/configure.py

index f9d5f267544cb0cc4ed9c67385312919699218ce..faeab42a6666badb1cb064ef7a0b0ef50321a7c3 100644 (file)
@@ -760,7 +760,7 @@ class Project( Action ):
             self.build = time.strftime('%Y%m%d') + '00'
             self.title = '%s %s (%s)' % (self.name,self.version,self.build)
         elif repo.type == 'developer':
-            self.version = 'svn%d' % (repo.rev)
+            self.version = '%dsvn' % (repo.rev)
             url_ctype = '_unstable'
             url_ntype = 'unstable'
             self.build = time.strftime('%Y%m%d') + '01'