[pkg-gnupg-maint] Bug#958921: libgpg-error-dev: please don't ship .la files

Pino Toscano pino at debian.org
Sun Apr 26 19:12:48 BST 2020


Package: libgpg-error-dev
Version: 1.37-1
Severity: normal
Tags: patch
User: codehelp at 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.
(Of course the patch removes only the "unix" .la file, not the ones
used for the mingw toolchain.)

Thanks,
-- 
Pino
-------------- next part --------------
--- a/debian/libgpg-error-dev.install.in
+++ b/debian/libgpg-error-dev.install.in
@@ -3,6 +3,5 @@ usr/bin/gpgrt-config
 usr/include/* usr/include/@DEB_HOST_MULTIARCH@/
 usr/lib/*/libgpg-error.a
 usr/lib/*/libgpg-error.so
-usr/lib/*/libgpg-error.la
 usr/lib/*/pkgconfig/gpg-error.pc
 usr/share/aclocal/*.m4
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,7 @@ endif
 
 override_dh_auto_install-arch:
 	dh_auto_install --parallel --builddirectory=build
+	rm $(shell pwd)/debian/tmp/usr/lib/*/libgpg-error.la
 
 override_dh_install:
 	sed -e"s, at DEB_HOST_MULTIARCH@,${DEB_HOST_MULTIARCH},g" \


More information about the pkg-gnupg-maint mailing list