[Build-common-hackers] Bug#215961: cdbs: does not handle architecture specifications in control file corretly

Daniel Jacobowitz Daniel Jacobowitz <dan@debian.org>, 215961@bugs.debian.org
Wed, 15 Oct 2003 13:48:15 -0400


Package: cdbs
Version: 0.4.12
Severity: normal

($type eq 'same' && ($arch eq 'any' || $arch =~ /^\s*$buildarch\s*$/))

That handles packages whose architecture line is only this architecture, but
not lists.  Something like:
($type eq 'same' && ($arch eq 'any' || $arch =~ /(^|\s+)$buildarch(\s+|$)/))

would work better.  [not tested].



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nevyn 2.6.0-test6-nevyn #1 SMP Mon Sep 29 00:11:01 EDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

-- no debconf information


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer