From 14358377b90ac8bbc97e834047b7e6153dadf6e6 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Mon, 28 Jan 2008 23:35:42 +0000 Subject: [PATCH] Use python sitelib as per packaging guidelines which fixes x86_64 build --- livecd-tools.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/livecd-tools.spec b/livecd-tools.spec index 363ddf6..6f050a9 100644 --- a/livecd-tools.spec +++ b/livecd-tools.spec @@ -1,5 +1,5 @@ %define debug_package %{nil} - +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: Tools for building live CD's Name: livecd-tools Version: 013 @@ -61,15 +61,16 @@ rm -rf $RPM_BUILD_ROOT /usr/lib/livecd-creator/mayflower %dir %{_datadir}/livecd-tools %{_datadir}/livecd-tools/* -%{_libdir}/python?.?/site-packages/imgcreate/* +%{python_sitelib}/imgcreate/* %changelog +* Tue Jan 29 2008 Rahul Sundaram - 013-4 +- Use python sitelib macro properly * Tue Jan 29 2008 Rahul Sundaram - 013-3 - Fix build on x86_64 +- Fix build on x86_64 * Mon Jan 28 2008 Rahul Sundaram - 013-2 - Initial build for EPEL - * Mon Oct 29 2007 Jeremy Katz - 013-1 - Lots of config updates - Support 'device foo' to say what modules go in the initramfs