From 3e56846d8d20e2930197de60f881a5563fad46fe Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Thu, 19 Apr 2012 13:56:54 +0100 Subject: [PATCH] Add macros not available on some distributions --- libkolabxml.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libkolabxml.spec b/libkolabxml.spec index 78dda5f..3f63e25 100644 --- a/libkolabxml.spec +++ b/libkolabxml.spec @@ -1,3 +1,6 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Name: libkolabxml Version: 0.3 Release: 0.1%{?dist}