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

[libsys-cpu-perl] Patch adding missing perlapi-* dependencies



tags 463098 patch
thanks

Hi, Isaac,

[Cc-ing your @d.o email as the one in Maintainer: looks strange to me]

The following patch adds ${perl:Depends} to Depends field of
debian/control and dh_perl to binary arch target of debian/rules.
Together, these changes add proper dependency on perl and perlapi-* to
the package.

======================================================================
diff --git a/debian/control b/debian/control
index d4501b5..0a86ea8 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Standards-Version: 3.6.1
 
 Package: libsys-cpu-perl
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${perl:Depends}
 Description: Sys::CPU Perl module for getting CPU information
  The Sys::CPU Perl offers an API to get the number of CPU's and its
  speed and type.
diff --git a/debian/rules b/debian/rules
index de43107..11177d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,6 +59,7 @@ binary-arch: build install
        dh_compress
        dh_fixperms
        dh_installdeb
+       dh_perl
        dh_shlibdeps
        dh_gencontrol
        dh_md5sums
======================================================================

The package looks like it could use some love, like bumping debhelper
compatibility level (currently 3) etc. If you don't want to bother,
please consider giving it to the Debian Perl Group (cc-ed). See
http://wiki.debian.org/Teams/DebianPerlGroup

-- 
dam            JabberID: dam@jabber.minus273.org

Attachment: signature.asc
Description: Digital signature


Reply to: