diff --git a/libgphoto2.changes b/libgphoto2.changes index ed6f5d7..ec769dc 100644 --- a/libgphoto2.changes +++ b/libgphoto2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 27 08:54:31 CEST 2010 - meissner@suse.de + +- remove the major .la files + ------------------------------------------------------------------- Sun Apr 11 23:25:39 CEST 2010 - meissner@suse.de diff --git a/libgphoto2.spec b/libgphoto2.spec index c2dfb10..ba63fd9 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -31,7 +31,7 @@ License: LGPLv2.1+ Group: Hardware/Camera Summary: A Digital Camera Library Version: 2.4.9 -Release: 1 +Release: 2 Source0: libgphoto2-%{version}.tar.bz2 Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -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 @@ -153,9 +157,7 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/bin/gphoto2-config %{prefix}/bin/gphoto2-port-config %{_libdir}/libgphoto2.so -%{_libdir}/libgphoto2.la %{_libdir}/libgphoto2_port.so -%{_libdir}/libgphoto2_port.la %{_libdir}/pkgconfig/libgphoto2.pc %{_libdir}/pkgconfig/libgphoto2_port.pc