[linux-signed] 01/03: gencontrol.py: Rename package_version to binary_version

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Oct 31 17:35:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux-signed.

commit 0f966aaea1e92994d90391a55c00ed8adaefad28
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Mon Oct 31 10:36:21 2016 -0600

    gencontrol.py: Rename package_version to binary_version
    
    This hopefully makes things a bit clearer.
---
 debian/bin/gencontrol.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index 877dace..3bc95e8 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -30,7 +30,7 @@ class Gencontrol(Base):
             'imageversion': image_version,
             'imagesourceversion': self.version.complete,
         }
-        self.package_version = image_version + signed_version_suffix
+        self.binary_version = image_version + signed_version_suffix
 
     def _substitute_file(self, template, vars, target, append=False):
         with codecs.open(target, 'a' if append else 'w', 'utf-8') as f:
@@ -38,8 +38,8 @@ class Gencontrol(Base):
 
     def do_main_setup(self, vars, makeflags, extra):
         makeflags['VERSION'] = self.version.linux_version
-        makeflags['GENCONTROL_ARGS'] = '-v%s' % self.package_version
-        makeflags['PACKAGE_VERSION'] = self.package_version
+        makeflags['GENCONTROL_ARGS'] = '-v%s' % self.binary_version
+        makeflags['PACKAGE_VERSION'] = self.binary_version
 
     def do_main_packages(self, packages, vars, makeflags, extra):
         # Assume that arch:all packages do not get binNMU'd

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-signed.git



More information about the Kernel-svn-changes mailing list