diff recipes/kde_enterprise_4/kdepim.py @ 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 e868c6818f8c
children 024b309c0520
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:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)