Package: dpkg-dev
Version: 1.15.8.10
Severity: minor

The 3.0 source formats by default ignore what dpkg-source -I would exclude.  
It appears that as soon as you explicitly use -Isomething, this effect is 
canceled and you need to use -I to get it back.

In my test case, a directory has .svn directories lying around and uses source 
format 3.0 (native).  Building a source package with dpkg-buildpackage -S 
excludes the .svn directories from the .tar.gz, as one would expect.  But 
running dpkg-buildpackage -S -Ifoo causes the .svn directories to appear in 
..tar.gz.  You have to use dpkg-buildpackage -S -I -Ifoo to get the desired 
outcome.

This effect is a bit questionable in my mind, but even it is intentional, it 
would be good to document it explicitly.  (simple addition of "Note: When 
using an -I option, the default ignores of the 3.0 formats are canceled.  You 
would need to use -I without argument to get them back.)

Better yet might be to keep the default ignores always and add an explicit 
unignore option.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to