remove the main library .la files

OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=28
This commit is contained in:
Marcus Meissner 2010-04-25 18:39:53 +00:00 committed by Git OBS Bridge
parent 609c3a7a8d
commit 9840dbfbef

View File

@ -121,6 +121,10 @@ mv doc/doxygen-output/libgphoto2-api.html apidocs
fn=$RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libgphoto2_port.pc
grep -v driverdir= $fn > $fn.new
mv $fn.new $fn
# These two should not be required, but the driver .la can stay
rm $RPM_BUILD_ROOT/%{_libdir}/libgphoto2.la
rm $RPM_BUILD_ROOT/%{_libdir}/libgphoto2_Port.la
%fdupes $RPM_BUILD_ROOT
%clean