From 2a72fca66f4c449adad20c7acf46383d5d595d36bf1b50a0e620c76e27937fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Wed, 30 May 2012 17:04:53 +0000 Subject: [PATCH] Check if python_sitearch is undefined else define it. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=5 --- tdb.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdb.spec b/tdb.spec index 2205c27..39bd342 100644 --- a/tdb.spec +++ b/tdb.spec @@ -17,8 +17,8 @@ # norootforbuild -%if "%{python_sitearch}" == "" -# CentOS and RHEL pre-6 don't know python_sitearch +%if %{undefined python_sitearch} +## CentOS and RHEL pre-6 don't know python_sitearch %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") %endif