From 588c99fb6d5dc6ad63e98eda192809bef855718f Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 24 May 2013 18:25:34 +0200 Subject: [PATCH] Fix mof_compiler.py module import path in order to be able to compile in-tree --- pywbem.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pywbem.spec b/pywbem.spec index b4a2139..edcc4f7 100644 --- a/pywbem.spec +++ b/pywbem.spec @@ -41,6 +41,8 @@ easiest way to write providers on the planet. %patch0 -p1 -b .mofcomp-imports %build +# dirty workaround to fix the mof_compiler.py module path +ln -s . pywbem CFLAGS="%{optflags}" %{__python} setup.py build %install