From 2e120a93e66c7d9a41602ca493827319c50cb13b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 12 Jul 2007 21:29:44 +0000 Subject: [PATCH] - Really fix python bindings install --- gnome-bluetooth.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index 2df5387..5f1b363 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -69,8 +69,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libbluetooth.*a # Python's .m4 sucks -mv /usr/lib/* %{_libdir}/ -rmdir /usr/lib +if [ $RPM_BUILD_ROOT/usr/lib/ != $RPM_BUILD_ROOT%{_libdir}/ ] ; then + mv $RPM_BUILD_ROOT/usr/lib/* $RPM_BUILD_ROOT%{_libdir}/ + rmdir $RPM_BUILD_ROOT/usr/lib +fi %find_lang %{name}