Mercurial > treepkg
changeset 214:4307e25d2afe
Activate version number patching for KDEPIM enterprise4 packages.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 18 Dec 2008 14:31:58 +0000 |
parents | 98c5aab790bb |
children | c14c8ca06ddf |
files | recipes/kde_enterprise_4/kdepim.py |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/recipes/kde_enterprise_4/kdepim.py Fri Nov 28 15:36:10 2008 +0000 +++ b/recipes/kde_enterprise_4/kdepim.py Thu Dec 18 14:31:58 2008 +0000 @@ -32,14 +32,15 @@ def update_version_numbers(self, pkgbasedir): """Overrides the inherited method to update version numbers in the code """ - return - versionstring = "(enterprise35 %s)" % self.enterprise_version + versionstring = "(enterprise4 %s)" % self.enterprise_version failed = [] - for versionfile in ["kmail/kmversion.h", "kontact/src/main.cpp", + for versionfile in ["kaddressbook/kabcore.cpp", + "kmail/kmversion.h", + "kontact/src/main.cpp", "korganizer/version.h"]: if not treepkg.util.replace_in_file(os.path.join(pkgbasedir, versionfile), - "\(enterprise35 ([^)]*)\)", + "\(enterprise4 ([^)]*)\)", versionstring): failed.append(versionfile) if failed: