Bug#968492: libtommath-dev: please don't ship .la files

Pino Toscano pino at debian.org
Sun Aug 16 11:20:09 BST 2020


Package: libtommath-dev
Version: 1.2.0-5
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.

Thanks,
-- 
Pino
-------------- next part --------------
--- a/debian/libtommath-dev.install
+++ b/debian/libtommath-dev.install
@@ -1,5 +1,4 @@
 usr/include/*
 usr/lib/*/lib*.a
-usr/lib/*/lib*.la
 usr/lib/*/lib*.so
 usr/lib/*/pkgconfig/libtommath.pc
--- a/debian/rules
+++ b/debian/rules
@@ -49,6 +49,8 @@ endif
 
 override_dh_auto_install:
 	$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool install
+	# remove libtool .la files
+	find debian/tmp -name '*.la' -delete
 
 # Override if not processing -docs
 ifeq (,$(findstring libtommath-doc, $(shell dh_listpackages)))


More information about the Pkg-rakudo-devel mailing list