Subject: | Wishlist: removing files using distroprefs patches |
It seems to me that it is not possible to remove files using the
distroprefs patches feature. What I tried: I created a patch file with
the help of git (git format-patch). This patch contained a removed file
(removed using git rm).
While applying the patch file within a distropref, the file which was
meant to be removed was just shrinked to zero bytes, but it was still there.
patch has the option -E to remove files which have zero bytes after
patching. Maybe this option should be used if CPAN.pm detects that the
new file is named /dev/null (e.g. the patch header looks like this:
--- a/inc/YAML.pm
+++ /dev/null
)
Regards,
Slaven