On Jun 25, 2008, at 8:00 AM, Bernhard Rosenkränzer wrote:
> In older rpm versions, this spec fragment would cause %_bindir/
> someapp to be
> included:
>
> %install
> make install
> # consolehelper comes from a different package, therefore the symlink
> # being created here is dangling
> ln -s consolehelper $RPM_BUILD_ROOT%_bindir/someapp
>
> %files
> %_bindir/*
>
>
> In 5.1.4 (and probably older rpm5 versions), the dangling symlink
> is omitted
> and listed in "warning: Installed (but unpackaged) file(s) found".
> Probably an lstat() somewhere was changed to stat()...
>
> Listing %_bindir/someapp explicitly still packages it.
>
> Is this an intentional change (because dangling symlinks can be rather
> unwanted), or a bug?
>
RPM uses internal glob to maintain compatibility, not for portability.
The incompatibility was introduced several years ago when glibc, not
rpm, changed.
73 de Jeff
Received on Wed Jun 25 14:17:32 2008