diff recipes/kde/enterprise/generic.py @ 494:31b64ebe4b42

determine upstream_version of a package original patch by Andre
author Bjoern Ricks <bricks@intevation.de>
date Wed, 13 Oct 2010 16:26:53 +0000
parents 51c447a6792e
children e5b66539f893
line wrap: on
line diff
--- a/recipes/kde/enterprise/generic.py	Sat Oct 02 10:09:05 2010 +0000
+++ b/recipes/kde/enterprise/generic.py	Wed Oct 13 16:26:53 2010 +0000
@@ -24,13 +24,9 @@
                                    + str(self.revision))
 
     def determine_package_version(self, directory):
-        revision = self.revision
-        rules_revision = self.parent.rules_revision
-        pkg_revision = self.parent.pkg_revision
-        pkg_date = self.parent.pkg_date
         enterprise_version = self.enterprise_version
-
-        return self.track.version_template % locals()
+        return super(SourcePackager, self).determine_package_version(
+                directory, locals())
 
     def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion):
         self.update_version_numbers(pkgbasedir)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)