Hi!

On Fri, 2010-07-02 at 09:58:16 +0200, Sebastian Andrzej Siewior wrote:
> This package uses the keywords linux-gnu or not+linux-gnu in its depends
> field in the control file. In particular:
> - libacl1-dev | not+linux-gnu
> - libattr1-dev | not+linux-gnu
> - libselinux1-dev (>= 1.32) | not+linux-gnu
> 
> Please be aware that linux-gnu excludes armel which is very likely
> not be what you want.
> Since Debian Policy 3.9.0.0 architecture wild cards are defined for
> Build-Depends(?:-Indep): [0] and Architecture: [1]. You are encouraged
> to start using them.
> A quick cheat-sheet for the dependency would be:
> "$DEPENDENCY | not+linux-gnu" => "$DEPENDENCY [linux-any]"
> "$DEPENDENCY | linux-gnu"     => "$DEPENDENCY [!linux-any]"
> 
> [0] http://www.debian.org/doc/debian-policy/ch-relationships.html#s-depsyntax
> [1] 
> http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-arch-spec

We are planning on removing type-handling (for more detailed reasons
see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274747#132>).

Attached is a patch fixing this.

thanks,
guillem
diff --git a/debian/control b/debian/control
index 0cfd7fb..ba74818 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Michael Stone <[email protected]>
 Section: utils
 Priority: required
 Standards-Version: 3.9.2.0
-Build-Depends: gettext (>= 0.10.37), debhelper (>= 5.0.0), dh-buildinfo, texinfo (>= 4.2), groff, dpatch, libattr1-dev | not+linux-gnu, libacl1-dev | not+linux-gnu, libselinux1-dev (>= 1.32) | not+linux-gnu, gperf, bison
+Build-Depends: gettext (>= 0.10.37), debhelper (>= 5.0.0), dh-buildinfo, texinfo (>= 4.2), groff, dpatch, libattr1-dev [linux-any], libacl1-dev [linux-any], libselinux1-dev (>= 1.32) [linux-any], gperf, bison
 
 Package: coreutils
 Architecture: any

Reply via email to