Package: libxmlsec1-dev
Version: 1.2.14-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 xmlsec1-1.2.14/debian/changelog xmlsec1-1.2.14/debian/changelog
--- xmlsec1-1.2.14/debian/changelog
+++ xmlsec1-1.2.14/debian/changelog
@@ -1,3 +1,11 @@
+xmlsec1 (1.2.14-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]>  Sun, 16 Jan 2011 16:25:47 +0100
+
 xmlsec1 (1.2.14-1) unstable; urgency=low
 
   * New upstream release, fixes CVE-2009-3736 (Closes: #559831)
diff -u xmlsec1-1.2.14/debian/rules xmlsec1-1.2.14/debian/rules
--- xmlsec1-1.2.14/debian/rules
+++ xmlsec1-1.2.14/debian/rules
@@ -74,6 +74,8 @@
 	# strip unwanted RPATH caused by bug in old libtool
 	chrpath -d $(CURDIR)/debian/tmp/usr/lib/*.so \
 		$(CURDIR)/debian/tmp/usr/bin/xmlsec1
+	find debian/tmp/usr/lib -name "*.la" -exec \
+		sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
 
 # Build architecture-independent files here.
 binary-indep: build install

Reply via email to