diff mbox

Set e2fsprogs as Multi-Arch: foreign

Message ID 20120621124950.GA20021@afflict.kos.to
State Accepted
Headers show

Commit Message

Riku Voipio June 21, 2012, 12:49 p.m. UTC
Package: e2fsprogs
Version: 1.42.4-3
Severity: wishlist
Tags: patch
User: multiarch-devel@lists.alioth.debian.org
Usertags: multiarch

If package foo:i386 depends on e2fsprogs, without Multi-Arch: foreign
statetment, the i386 version of e2fsprogs will be installed. By setting
the foreign field, the already installed (in this example amd64)
e2fsprogs package is enough to satisfy the dependency.

The M-A: foreign field is ignored in pre-multiarch systems, so ifdeffing
it using macros should be unnessary.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 debian/control.in |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/debian/control.in b/debian/control.in
index 3ef9294..292959a 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -240,6 +240,7 @@  ifdef(`UTIL_LINUX_NG',
 '',
 ``Pre-Depends: ${shlibs:Depends}, ${misc:Depends}
 '')dnl
+Multi-Arch: foreign
 Suggests: gpart, parted, e2fsck-static
 Conflicts: dump (<< 0.4b4-4), quota (<< 1.55-8.1), initscripts (<< 2.85-4), sysvinit (<< 2.85-4)
 Replaces: hurd (<= 20040301-1), libblkid1 (<< 1.38+1.39-WIP-2005.12.10-2), libuuid1 (<< 1.38+1.39-WIP-2005.12.10-2)