> dpkg-source -b .
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building fooapp using existing ./fooapp_1.0.orig.tar.gz
dpkg-source: info: building fooapp in fooapp_1.0-1.debian.tar.gz
dpkg-source: info: building fooapp in fooapp_1.0-1.dsc
> tar -ztf ../fooapp_1.0-1.debian.tar.gz | grep bar
extra/bar
> dpkg-source -b -I*.dat .
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building fooapp using existing ./fooapp_1.0.orig.tar.gz
dpkg-source: info: building fooapp in fooapp_1.0-1.debian.tar.gz
dpkg-source: info: building fooapp in fooapp_1.0-1.dsc
> tar -ztf ../fooapp_1.0-1.debian.tar.gz | grep bar
extra/bar.so
extra/bar.a
extra/bar
Has this bug regressed to dpkg 1.16.1.2?
> tar -xzf foo-app-full.tgz
> cd fooapp-1.0
> cat debian/ source/ include- binaries
extra/bar
extra/bar.so
extra/bar.a
> dpkg-source -b . 1.0.orig. tar.gz 1.0-1.debian. tar.gz
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building fooapp using existing ./fooapp_
dpkg-source: info: building fooapp in fooapp_
dpkg-source: info: building fooapp in fooapp_1.0-1.dsc
> tar -ztf ../fooapp_ 1.0-1.debian. tar.gz | grep bar
extra/bar
> dpkg-source -b -I*.dat . 1.0.orig. tar.gz 1.0-1.debian. tar.gz
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building fooapp using existing ./fooapp_
dpkg-source: info: building fooapp in fooapp_
dpkg-source: info: building fooapp in fooapp_1.0-1.dsc
> tar -ztf ../fooapp_ 1.0-1.debian. tar.gz | grep bar
extra/bar.so
extra/bar.a
extra/bar