Package: libxapian-dev Version: 1.4.15-1 Severity: normal Tags: patch User: codeh...@debian.org Usertags: la-file-removal
Hi, as per Policy ยง10.2, .la files should not be included in the Debian package. Patch attached for this. Thanks, -- Pino
--- a/debian/libxapianVERSION-dev.install +++ b/debian/libxapianVERSION-dev.install @@ -1,7 +1,6 @@ usr/bin/xapian-config@VERSION_SUFFIX@ usr/include usr/lib/*/cmake/xapian -usr/lib/*/libxapian@VERSION_SUFFIX@.la usr/lib/*/libxapian@VERSION_SUFFIX@.so usr/lib/*/pkgconfig/xapian-core@VERSION_SUFFIX@.pc usr/share/aclocal --- a/debian/rules +++ b/debian/rules @@ -197,8 +197,8 @@ ifdef XAPIAN_BUILD_SSE rm -rf $(CURDIR)/debian/tmp-sse2 endif - # Empty dependency_libs to placate luddite release goal. - sed -i 's/^\(dependency_libs=\).*/\1/' $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libxapian$(VERSION_SUFFIX).la + # Remove .la file + rm $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libxapian$(VERSION_SUFFIX).la # Install the example source code mkdir -p debian/tmp/usr/share/doc/xapian-examples/examples