Jan Engelhardt schreef op 2014-10-22 02:12:
On Tuesday 2014-10-21 21:23, Erwin Waterlander wrote:
On 10/21/2014 10:31 AM, Jan Engelhardt wrote:
On Tuesday 2014-10-21 09:58, Andreas Schwab wrote:
%{_bindir}/wcd.exe should be moved to %{_libdir}, since it is not supposed to be called directly (and wcd.exe is a weird name). That should be %_libexecdir in fact. As for the name, what's in a name.
What I read is that libexec is intended for programs that are not intended to be be executed directly by users or shell scripts. In other words, libexec is for programs called by programs.
It is not that strict.
The point is simply that /usr/lib(exec)/whatever/ is not going to be in the $PATH, so calling a program there usually requires specifying the full path.
libexec is for programs invoked by other “routines”, i.e. abstract mechanisms that conveniently hide the full path from the user. That may be programs, scripts, sh aliases, or even symlinks: /sbin/init is just a symlink to /usr/lib/systemd/systemd, too, you know.
Second, I read that Suse does not support libexec. It is also not present on my openSUSE 13.1 installation.
We do support the concept of libexec. (GNU packages sort of demand it.) It just so happens that we defined the libexec directory to be /usr/lib, which coincides with %_libdir on some (but not all) platforms.
OK, thanks for the info. I fix it. best regards, -- Erwin Waterlander http://waterlan.home.xs4all.nl/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org