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

Thanks,
-- 
Pino
--- 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,@DEB_HOST_MULTIARCH@,${DEB_HOST_MULTIARCH},g" \

Reply via email to