From b0a771994d11692a807dfce92315283a6b6d63f2 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Mon, 13 Oct 2014 01:36:16 +0000 Subject: [PATCH] define py_libdir explicitly Signed-off-by: Gui Chen --- packaging/createrepo.spec | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1