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?
ttyl
bero
Received on Wed Jun 25 14:05:19 2008