Bug#588427: libuuid-perl: needlessly depends on full perl package when it could use perl-base
Ian Campbell
ijc at hellion.org.uk
Thu Jul 8 08:44:36 UTC 2010
Package: libuuid-perl
Version: 0.02-3+b1
Severity: normal
Tags: patch
Hi,
libuuid-perl depends on the full perl package and I believe it only actualy
requires the functionality of perl-base.
This is of interest because the linux-base package (which is depended on by all
linux-image packages) uses libuuid-perl and this dependency therefore pulls perl
into the base system and forces it onto first ISO images etc.
I think this is trivially resolved by the patch below.
Ian.
--- libuuid-perl-0.02/debian/rules
+++ libuuid-perl-0.02/debian/rules
@@ -61,7 +61,7 @@
gzip -9f $(CURDIR)/debian/$(package)/usr/share/man/man3/UUID.3pm \
$(CURDIR)/debian/$(package)/usr/share/doc/$(package)/changelog.Debian \
$(CURDIR)/debian/$(package)/usr/share/doc/$(package)/changelog
- echo $$(perl -MConfig -e 'printf "perl:Depends=perlapi-%s", $$Config{version}'), perl '(>=' $$(dpkg -s perl | awk '/^Version:/ {print $$2}')')' > debian/$(package).substvars
+ echo $$(perl -MConfig -e 'printf "perl:Depends=perlapi-%s", $$Config{version}'), perl-base '(>=' $$(dpkg -s perl | awk '/^Version:/ {print $$2}')')' > debian/$(package).substvars
dpkg-shlibdeps -Tdebian/$(package).substvars debian/$(package)/usr/lib/perl5/auto/UUID/UUID.so
dpkg-gencontrol -ldebian/changelog -isp -Tdebian/$(package).substvars -Pdebian/$(package)
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libuuid-perl depends on:
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libuuid1 2.17.2-3 Universally Unique ID library
ii perl 5.10.1-13 Larry Wall's Practical Extraction
ii perl-base [perlapi-5.10.0] 5.10.1-13 minimal Perl system
libuuid-perl recommends no packages.
libuuid-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list