define python_sitelib on f12 plnode-utils-0.2-1
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 19 Jul 2012 08:11:23 +0000 (10:11 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 19 Jul 2012 08:11:23 +0000 (10:11 +0200)
plnode-utils-lxc.spec
plnode-utils-vs.spec

index e54bed8..cfb13ec 100644 (file)
@@ -4,6 +4,9 @@
 
 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 
+# for f12
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
 Summary: Python utilities for a PlanetLab node
 Name: %{name}
 Version: %{version}
index 6317bb0..18290d0 100644 (file)
@@ -4,6 +4,9 @@
 
 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 
+# for f12
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
 Summary: Python utilities for a PlanetLab node
 Name: %{name}
 Version: %{version}