Package: libprelude-dev
Version: 1.0.0-1
Severity: normal
Tags: patch

The libtool la files contain non-empty dependency_libs lines. Please
empty them. The la file cannot be simply removed because they are
refered to in other packages.

http://wiki.debian.org/ReleaseGoals/LAFileRemoval
http://lists.debian.org/debian-devel/2009/08/msg00808.html
http://release.debian.org/~aba/la/current.txt

Patch attached.

cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -u libprelude-1.0.0/debian/rules libprelude-1.0.0/debian/rules
--- libprelude-1.0.0/debian/rules
+++ libprelude-1.0.0/debian/rules
@@ -63,6 +63,8 @@
 
 	find debian/tmp -type f -name .packlist | xargs rm -f
 	-find debian/tmp/usr/lib/perl5 -type d -empty | xargs rmdir -p
+	find debian/tmp/usr/lib -name "*.la" -exec \
+		sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
 
 #	$(INSTALLF) sensors-default.conf $(TMPDIR)/etc/prelude-sensors/
 
diff -u libprelude-1.0.0/debian/changelog libprelude-1.0.0/debian/changelog
--- libprelude-1.0.0/debian/changelog
+++ libprelude-1.0.0/debian/changelog
@@ -1,3 +1,11 @@
+libprelude (1.0.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Empty dependency_libs in libtool la file.
+    http://wiki.debian.org/ReleaseGoals/LAFileRemoval
+
+ -- Andreas Metzler <[email protected]>  Sat, 15 Jan 2011 18:15:06 +0100
+
 libprelude (1.0.0-1) unstable; urgency=low
 
   * Imported Upstream version 1.0.0

Reply via email to