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

Bug#274747: type-handling: avoid dpkg-dev dependency



Package: type-handling
Version: 0.2.23
Severity: normal

In order to avoid the dpkg-dev dependency you can replace the
dpkg-architecture -L invocation with:
perl -MDpkg::Arch -e 'print "$_\n" foreach Dpkg::Arch::get_valid_arches();'

And then you need only a libdpkg-perl dependency.

Dpkg::Arch has not yet a stable API but it's unlikely this function will be
renamed, and even if it does, it will be easy to fix...

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-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/dash

Versions of packages type-handling depends on:
ii  dpkg-dev                      1.15.8.6   Debian package development tools

type-handling recommends no packages.

type-handling suggests no packages.

-- no debconf information



Reply to: