Package: apt-file
Version: 2.5.0
Severity: normal
Tags: patch

rapt-file depends on dpkg-architecture from dpkg-dev package (which
the depends on perl, gcc). dpkg-dev is now correctly listed as
Recommends in 2.5.0 (sid, wheezy), which wasn't the case in 2.4.0
(squeeze).

Assuming there isn't any other need to use dpkg-dev apart from this
one call, these huge dependencies can be removed by calling dpkg
instead of dpkg-architecture in the  get_architecture() function:

replace
        return subprocess.Popen(["dpkg-architecture",
"-qDEB_HOST_ARCH"], stdout=subprocess.PIPE).communicate()[0].strip()
with
        return subprocess.Popen(["dpkg", "--print-architecture"],
stdout=subprocess.PIPE).communicate()[0].strip()


Regards,
~~helix84



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to