From b4359e8bf97799f83dc1ca62744db7cfcc81bc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 19:50:32 +0200 Subject: RPM Packaging: rename directories --- .../pykdeextensions-3.5.13-fix_extra_module_dir.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_extra_module_dir.patch (limited to 'redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_extra_module_dir.patch') diff --git a/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_extra_module_dir.patch b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_extra_module_dir.patch new file mode 100644 index 000000000..3b89e2422 --- /dev/null +++ b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_extra_module_dir.patch @@ -0,0 +1,19 @@ +--- pykdeextensions/src/kdedistutils.py.libtool 2012-05-11 23:45:11.738618661 +0200 ++++ pykdeextensions/src/kdedistutils.py 2012-05-11 23:46:11.469447204 +0200 +@@ -712,6 +712,7 @@ + + # Build the 'stub' code. + cppcode = self.cpptemplate % {"moduledir": self.data_dir, ++ "extramodule": os.getenv("EXTRA_MODULE_DIR"), + "modulename": modulename, + "factoryfunction": factoryfunction, + "python_version": python_version} +@@ -855,7 +856,7 @@ + #include + + #define MODULE_DIR "%(moduledir)s" +-#define EXTRA_MODULE_DIR "/opt/trinity/share/python-support/kde-guidance-trinity" ++#define EXTRA_MODULE_DIR "%(extramodule)s" + #define EXTRA_MODULE_DIR_TWO "/opt/trinity/share/python-support/guidance-backends-trinity" + #define EXTRA_MODULE_DIR_THREE "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity" + #define MODULE_NAME "%(modulename)s" -- cgit v1.2.1