Marcus Meissner 2011-01-10 10:51:52 +00:00 committed by Git OBS Bridge
parent 3b045cfcae
commit 6d071c4629

View File

@ -131,10 +131,6 @@ install -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/
install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp* rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp*
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
for i in delfile getfile newfolder sendfile sendtr
do
ln -sf /usr/bin/mtp-connect $RPM_BUILD_ROOT/usr/bin/mtp-$i
done
%post -n libmtp8 -p /sbin/ldconfig %post -n libmtp8 -p /sbin/ldconfig