Source: cdbs
Version: 0.4.96
Severity: wishlist
Tags: patch

Hi,

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.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -Nru cdbs-0.4.96/scripts/list-packages cdbs-0.4.96+nmu1/scripts/list-packages
--- cdbs-0.4.96/scripts/list-packages	2010-05-23 05:52:01.000000000 +0900
+++ cdbs-0.4.96+nmu1/scripts/list-packages	2011-08-10 14:02:01.000000000 +0900
@@ -63,7 +63,7 @@
 			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 eq 'linux-any' || $arch =~ /\b$buildarch\b/)) ||
 			     ! $type)) {
 				push @list, $package;
 				$package="";

Reply via email to