[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534143: kde-l10n: Please fix the symlinks.



Package: kde-l10n
Version: 4:4.2.4-1
Severity: normal
Tags: patch

[Keeping a low severity, minor policy violations.]

o<,

as discussed previously, lintian is such a nice tool that it gives the
solution to the problems it reports:
| Tag: symlink-should-be-relative
| Severity: normal
| Certainty: certain
| Info: Symlinks to files which are in the same top-level directory should be
|  relative according to policy.  (In other words, a link in /usr to another
|  file in /usr should be relative, while a link in /usr to a file in /etc
|  should be absolute.)
|  .
|  If you use debhelper, running dh_link after creating the package structure
|  will fix this problem for you.
| Ref: policy 10.5

Source debdiff attached.

Mraw,
KiBi.

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+kde-l10n (4:4.2.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix hundreds of symlinks by simply calling dh_link, as kindly
+    suggested by lintian.
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 21 Jun 2009 23:24:12 +0000
+
 kde-l10n (4:4.2.4-1) unstable; urgency=low
 
   * New upstream release.
--- a/debian/rules
+++ b/debian/rules
@@ -91,6 +91,7 @@
 	dh_installchangelogs
 	dh_strip
 	dh_compress -X.docbook -X.css -X-license -X.dcl -X.bz2
+	dh_link
 	dh_fixperms
 	dh_installdeb
 	dh_shlibdeps

Reply to: