File destdir-fix.diff of Package eric

--- install.py
+++ install.py
@@ -394,6 +392,8 @@ def installEric():
     # install the API file
     for progLanguage in progLanguages:
         apidir = getAPIsPath(progLanguage)
+        if distDir:
+            apidir = os.path.normpath(distDir + os.sep + apidir)
         if not os.path.exists(apidir):
             os.makedirs(apidir)
         for apiName in glob.glob(os.path.join("eric", "APIs", progLanguage, "*.api")):
openSUSE Build Service is sponsored by