[Fedora-packaging] Please do not redefine %_bindir

Ralf Corsepius rc040203 at freenet.de
Sun Sep 28 10:27:12 UTC 2008


On Sat, 2008-09-27 at 21:07 -0700, Michael A. Peters wrote:
> Building the fedora 9 cpio package for a distribution that puts 
> install-info into /usr/bin (where it probably belongs - the info dir is 
> in /usr/share so /usr is going to be mounted when you run it, and users 
> can make there own info dir so it probably shouldn't be a /sbin or 
> /usr/sbin binary, but anyway ...)

install-info belongs into /sbin or /usr/sbin, to keep it out of an
ordinary user's $PATH.

> So - to port the rpm I needed to change the references to 
> /sbin/install-info to %{_bindir}/install-info
Don't do this. Your package MUST comply to the Fedora conventions.

Ralf





More information about the Fedora-packaging mailing list