diff --git a/sane-backends.changes b/sane-backends.changes index 89f8f97..fc9126f 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -5,10 +5,7 @@ Wed Apr 28 11:27:50 CEST 2010 - jsmeix@suse.de device access permissions for scanners to the currently logged in "desktop" user. Therefore all HAL related stuff was removed (see Novell/Suse Bugzilla bnc#593946). -- Removed /usr/lib[64]/libsane.so and /usr/lib[64]/libsane.la - which are not needed by scanning frontends which are provided - by openSUSE because /usr/bin/scanimage, /usr/bin/xsane, - and /usr/bin/skanlite link with /usr/libi[64]/libsane.so.1 +- Removed /usr/lib[64]/libsane.la (see Novell/Suse Bugzilla bnc#592143). ------------------------------------------------------------------- diff --git a/sane-backends.spec b/sane-backends.spec index 9102f76..6a2aa77 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -399,13 +399,13 @@ make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/sane/libsane-*.so rm %{buildroot}%{_libdir}/sane/libsane-*.la # Because of https://bugzilla.novell.com/show_bug.cgi?id=592143 for openSUSE 11.3 -# even those files for the dll meta-backend /usr/lib/libsane.so and /usr/lib/libsane.la -# are removed regardless that it is unknown how whatever third-party scanning frontend +# even the /usr/lib/libsane.la file for the dll meta-backend is removed +# regardless that it is unknown how whatever third-party scanning frontend # may like to link with SANE (i.e. with the dll meta-backend). -# At least the frontends which are provided by openSUSE /usr/bin/scanimage, /usr/bin/xsane, -# and /usr/bin/skanlite link with /usr/lib/libsane.so.1 so that those frontends -# neither need /usr/lib/libsane.so nor /usr/lib/libsane.la: -rm %{buildroot}%{_libdir}/libsane.so +# The frontends which are provided by openSUSE /usr/bin/scanimage, +# /usr/bin/xsane, and /usr/bin/skanlite do not need it. +# The /usr/lib/libsane.so link for the dll meta-backend is kept because it is needed +# during build-time by other packages which need sane-backends to build. rm %{buildroot}%{_libdir}/libsane.la # Disable all backends in /etc/sane.d/dll.conf to avoid problems when backends are active by default: perl -pi -e 's/^([^#].*)$/#$1/' %{buildroot}%{_sysconfdir}/sane.d/dll.conf