[git-buildpackage] PATCH: buildpackage-rpm: packaging: no symlink to other dirs [was: Re: [PATCH] Add --git-packaging-exclude to gbp buildpackage-rpm]
Tzafrir Cohen
tzafrir at cohens.org.il
Tue Mar 15 13:42:53 CET 2016
On Wed, Feb 17, 2016 at 10:34:19AM +0100, Tzafrir Cohen wrote:
> The patch is indeed too agressive, but the problem is that copying all
> the top-level files in the tree may fail if one of them is a symlink to
> somewhere below in the tree.
>
> Note that symlink is readable. It's not a dandling symlink. However the
> copying of the packaging files only copies the top-level files.
Sorry for the delay. Attached a more direct fix for the issue: when
copying packaging files, skip symlinks to any files that are not in hte
same directory.
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
tzafrir at debian.org | | friend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-buildpackage-rpm-packaging-no-symlink-to-other-dirs.patch
Type: text/x-diff
Size: 1379 bytes
Desc: not available
URL: <http://lists.sigxcpu.org/pipermail/git-buildpackage/attachments/20160315/b5ab43f3/attachment.patch>
More information about the git-buildpackage
mailing list