[pywbem/f19] Fix mof_compiler.py module import path in order to be able to compile in-tree
Tomas Bzatek
tbzatek at fedoraproject.org
Fri May 24 14:26:24 UTC 2013
commit 588c99fb6d5dc6ad63e98eda192809bef855718f
Author: Tomas Bzatek <tbzatek at redhat.com>
Date: Fri May 24 18:25:34 2013 +0200
Fix mof_compiler.py module import path in order to be able to compile in-tree
pywbem.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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
More information about the scm-commits
mailing list