debian/control: Include `prlimit' and `x86-model' in the metapackage.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 2 Jun 2016 13:57:16 +0000 (14:57 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 2 Jun 2016 16:48:36 +0000 (17:48 +0100)
I think I thought that I couldn't mention those in the `Depends' list
before.  Turns out that I can, as long as I make the metapackage be
architecture `any' rather than `all' (so that different architectures
can have different `Depends' lists).

debian/control

index d9d9a22..4dcb0dc 100644 (file)
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 9), pkg-config,
 Standards-Version: 3.1.1
 
 Package: distorted-utils
-Architecture: all
+Architecture: any
 Section: utils
 Replaces: nsict-utils (<< 1.4.0~)
 Breaks: nsict-utils (<< 1.4.0~)
@@ -27,12 +27,14 @@ Depends:
        mdwopt-perl,
        mtimeout,
        pause,
+       prlimit [linux-any],
        shadowfix,
        space,
        splitconf,
        sshsvc-mkauthkeys,
        stamp,
        with-umask,
+       x86-model [any-i386 any-amd64],
        xtitle,
        zz
 Description: Dummy package for convenience.