Package: pacemaker
Version: 1.0.10-4
Severity: normal
Tags: patch

The libtool la files in the pacemaker packages contain non-empty
dependency_libs. Please empty them. The la files 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 -Nru pacemaker-1.0.10/debian/changelog pacemaker-1.0.10/debian/changelog
--- pacemaker-1.0.10/debian/changelog	2011-01-04 04:54:06.000000000 +0100
+++ pacemaker-1.0.10/debian/changelog	2011-01-15 18:56:24.000000000 +0100
@@ -1,3 +1,11 @@
+pacemaker (1.0.10-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Empty dependency_libs in libtool la file.
+    http://wiki.debian.org/ReleaseGoals/LAFileRemoval
+
+ -- Andreas Metzler <ametz...@debian.org>  Sat, 15 Jan 2011 18:56:24 +0100
+
 pacemaker (1.0.10-4) unstable; urgency=low
 
   * Add dependency on cluster-glue-dev to libcrmcommon2-dev
diff -Nru pacemaker-1.0.10/debian/rules pacemaker-1.0.10/debian/rules
--- pacemaker-1.0.10/debian/rules	2010-12-20 01:26:33.000000000 +0100
+++ pacemaker-1.0.10/debian/rules	2011-01-15 18:57:17.000000000 +0100
@@ -101,6 +101,8 @@
 	dh_testroot
 	dh_installdirs
 	$(MAKE) install DESTDIR=`pwd`/debian/tmp docdir=/usr/share/doc/pacemaker
+	find debian/tmp/usr/lib -name "*.la" -exec \
+		sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
 
 binary-indep: build install
 

Reply via email to