File: 20binary-arch

package info (click to toggle)
dh-builtusing 0.0.12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: sh: 456; perl: 152; makefile: 23
file content (21 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

{
    fake_control_header '
Build-Depends-Arch: dpkg-dev
Build-Depends-Indep: red-herring'

    fake_control_package foo           any '${dh-builtusing:dpkg-dev}'
    fake_control_package not-processed all '${dh-builtusing:red-herring}'

} > debian/control

$tested_command --arch

check_substvar         foo           dpkg-dev    dpkg
check_substvars_absent foo           red-herring
check_substvars_absent not-processed dpkg-dev red-herring

dh_gencontrol --arch

check_control foo dpkg