[prev in list] [next in list] [prev in thread] [next in thread]
List: rpm-devel
Subject: rpm5 incompatibility with old rpm: globs no longer include dangling symlinks
From: Bernhard =?iso-8859-1?q?Rosenkr=E4nzer?= <bero () arklinux ! org>
Date: 2008-06-25 12:00:56
Message-ID: 200806251401.19746.bero () arklinux ! org
[Download RAW message or body]
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
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List rpm-devel@rpm5.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic