Package: util-linux
Version: 2.19.1-2
Severity: normal
Tags: patch

Hi,

the locales are shipped in a separate binary package named
util-linux-locales, yet the util-linux package contains empty
/usr/share/locale/*/LC_MESSAGES directories

The attached patch rm -rf debian/util-linux/usr/share/locale
after dh_movefiles was run, which should do the trick.

Cheers,
Michael

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages util-linux depends on:
ii  debconf [debconf-2.0]   1.5.40           Debian configuration management sy
ii  dpkg                    1.16.0.3         Debian package management system
ii  initscripts             2.88dsf-13.10    scripts for initializing and shutt
ii  install-info            4.13a.dfsg.1-6   Manage installed documentation in 
ii  libblkid1               2.19.1-2         block device id library
ii  libc6                   2.13-10          Embedded GNU C Library: Shared lib
ii  libncurses5             5.9-1            shared libraries for terminal hand
ii  libselinux1             2.0.98-1.1       SELinux runtime shared libraries
ii  libslang2               2.2.4-2          S-Lang programming library - runti
ii  libuuid1                2.19.1-2         Universally Unique ID library
ii  lsb-base                3.2-27           Linux Standard Base 3.2 init scrip
ii  tzdata                  2011h-3          time zone and daylight-saving time
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools                    3.0.9-1    utilities for making and checking 
ii  kbd                           1.15.3-4   Linux console font and keytable ut
pn  util-linux-locales            <none>     (no description available)

-- Configuration Files:
/etc/init.d/hwclock.sh changed [not included]
/etc/init.d/hwclockfirst.sh changed [not included]

-- debconf information excluded

-- debsums errors found:
debsums: changed file /lib/udev/hwclock-set (from util-linux package)
>From de4e85d157b31d43feb99fce1d0ff28d0d64d2fb Mon Sep 17 00:00:00 2001
From: Michael Biebl <bi...@debian.org>
Date: Sun, 10 Jul 2011 05:54:59 +0200
Subject: [PATCH] Don't ship empty usr/share/locale/*/LC_MESSAGES directories

in the util-linux binary package.
---
 debian/rules |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0a3c0b1..5a46aa6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,6 +82,7 @@ install: build
        dh_installinfo -i -s
        dh_installchangelogs docs/v*-ReleaseNotes -i -s
        dh_movefiles --sourcedir=debian/util-linux -i -s
+       rm -rf debian/util-linux/usr/share/locale
        #
        # XXX - push things to where debian has always(?) had them...
 ifeq ($(DEB_HOST_ARCH_OS),linux)
-- 
1.7.5.4

Reply via email to