With this change, it can't match the top-level directory anymore and the source package directory can again end with a tilde without creating problems.
@@ -49,6 +49,8 @@ dpkg (1.15.8) UNRELEASED; urgency=low
* Pass --no-name option to gzip to avoid encoding the timestamp in the file
so that the result is more predictable. Closes: #587724
Also pass --rsyncable to make source packages more rsync friendly.
+ * Replace dpkg-source's tar ignore pattern "*~" with "*/*~" to avoid
+ matching on the top level directory. Closes: #588265
[ Guillem Jover ]
* Require gettext 0.18:
@@ -62,7 +62,7 @@ our @tar_ignore_default_pattern = qw(
*.o
*.so
.*.sw?
-*~
+*/*~
,,*
.[#~]*
.arch-ids