From 63b1e8b099fc54b96824789277bd8ebce6c521c634d5fa70327692e45bd3f342 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 16 Aug 2011 10:54:12 +0000 Subject: [PATCH] Add python_sitelib definition for platforms not defining it (SLE) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pmw?expand=0&rev=3 --- python-pmw.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-pmw.spec b/python-pmw.spec index 2fd4c99..b26c2e4 100644 --- a/python-pmw.spec +++ b/python-pmw.spec @@ -35,6 +35,7 @@ BuildRequires: fdupes BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description A toolkit for building high-level compound widgets in Python using the Tkinter