On 11-08-10 at 03:24pm, Nobuhiro Iwamatsu wrote: > cdbs does not support linux-any target yet. > I made patch to support linux-any target. Could you apply this patch? > > I tested some package with this patch. Work fine.
Thanks. Seems more sensible to me, however, to cover generically the *-any and any-* syntax. Could I please ask you to verify that attached patch works for you as well? Regards, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
diff --git a/scripts/list-packages b/scripts/list-packages index 4b985dc..1454893 100755 --- a/scripts/list-packages +++ b/scripts/list-packages @@ -63,7 +63,11 @@ sub GetPackages { if ($package && (($type eq 'indep' && $arch eq 'all') || ($type eq 'arch' && $arch ne 'all') || - ($type eq 'same' && ($arch eq 'any' || $arch =~ /\b$buildarch\b/)) || + ($type eq 'same' && ( + $arch eq 'any' || + $arch =~ /^any-\S+$/ || + $arch =~ /^\S+-any$/ || + $arch =~ /\b$buildarch\b/)) || ! $type)) { push @list, $package; $package="";
signature.asc
Description: Digital signature