Hi,

On Wed, 07 Aug 2013, Guillem Jover wrote:
> I've just tested, and dpkg-source 1.15.x shows the same behavior.
> Not saying it's desirable, just that I don't see how this breaks
> stuff that used to work in the past?

Which 1.15.x have you tested? Because commit
3525f79792cff51757d99d45f51c96a15e6fa779 might be relevant to the issue
at hand... and this was added between 1.15.0 and 1.15.1.

Possible patch (untested):

--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -468,7 +468,9 @@ sub do_build {
         chdir($cwd) || syserr(_g("unable to chdir to `%s'"), $cwd);
         my @result;
         foreach my $fn (@_) {
-            unless (exists $exclude{$fn} or exists $exclude{"$reldir/$fn"}) {
+            if ($binaryfiles->binary_is_allowed($fn) or
+                not (exists $exclude{$fn} or exists $exclude{"$reldir/$fn"}))
+            {
                 push @result, $fn;
             }
         }

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to