you should always use _bindir which points to /usr/bin, /bin itself is a
link to /usr/bin.

Anas

On 07/10/2013 08:50, "Aleksander Zdyb" <[email protected]> wrote:

>Hello all!
>
>There is a fair number of programs, which are (traditionally) placed in
>/bin directory (cat, cp, rm, etc.).
>However, rpm, AFAIK, does not support this in %install and %files
>sections. There are only build-in macros ( %_bindir and %_sbindir),
>which are prefixed ( %_exec_prefix = /usr).
>
>I'm going to package symlinks for busybox, but have no idea on how to
>(properly) place some of the files in /bin -- i.e. is using
>%{buildroot}bin/cat a proper way in contrast with
>%{buildroot}%{_bindir}/cut?
>
>Or do we even care about distinguishing between /bin and /usr/bin?
>
>
>-- 
>Aleksander Zdyb
>Samsung R&D Institute Poland
>Samsung Electronics
>
>_______________________________________________
>Dev mailing list
>[email protected]
>https://lists.tizen.org/listinfo/dev

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to