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}