From 879cb6dccabe85778b15be21a2dd65fcbe0a3a90 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 7 Nov 2006 16:52:45 +0000 Subject: [PATCH] fix python packaging --- gnome-menus.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnome-menus.spec b/gnome-menus.spec index 036ca4b..e8fe521 100644 --- a/gnome-menus.spec +++ b/gnome-menus.spec @@ -1,7 +1,7 @@ %define po_package gnome-menus %define enable_debugging 0 -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Summary: A menu system for the GNOME project Name: gnome-menus @@ -82,8 +82,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc %{_libdir}/libgnome-menu.so.* -%{python_sitelib}/gmenu.so -%{python_sitelib}/GMenuSimpleEditor/* +%{python_sitearch}/gmenu.so +%{python_sitearch}/GMenuSimpleEditor/* %{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade %{_datadir}/applications/gmenu-simple-editor.desktop %{_datadir}/desktop-directories