From: Gui Chen Date: Mon, 13 Oct 2014 01:36:16 +0000 (+0000) Subject: define py_libdir explicitly X-Git-Tag: submit/devel/20190730.074453~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0a771994d11692a807dfce92315283a6b6d63f2;p=tools%2Fcreaterepo.git define py_libdir explicitly Signed-off-by: Gui Chen --- diff --git a/packaging/createrepo.spec b/packaging/createrepo.spec index 01145b4..7ea82ab 100644 --- a/packaging/createrepo.spec +++ b/packaging/createrepo.spec @@ -17,6 +17,7 @@ # norootforbuild +%{!?py_libdir: %define py_libdir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?py_sitedir: %define py_sitedir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: createrepo