Package: libpreludedb
Version: 1.0.0-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpmukuC_
In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: Wipe out dependency_libs in libtool la file
    (Policy 10.2)

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

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

Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty
  APT policy: (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u libpreludedb-1.0.0/debian/rules libpreludedb-1.0.0/debian/rules
--- libpreludedb-1.0.0/debian/rules
+++ libpreludedb-1.0.0/debian/rules
@@ -46,6 +46,11 @@
 	dh_installdirs
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	# Empty out the dependency field in our .la files
+	for file in debian/tmp/usr/lib/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
+
 	find $(CURDIR)/debian/tmp -name \*.pyc -exec rm -f {} \;
 #	$(INSTALLD) $(TMPDIR)/etc/prelude/	\
 #		$(TMPDIR)/etc/prelude/default/	\

Reply via email to