On Wed, Jan 12, 2011 at 12:49 AM, Arjan van de Ven <[email protected]> wrote: > On 1/11/2011 2:46 PM, Alexander Kanevskiy wrote >> >> What is the reason for using /usr/bin/... instead of %{_bindir}/powertop ? > > %{_bindir} is a pointless, useless macro which use must die. > > what would be a reason for EVER using %{_bindir} instead of /usr/bin ??????
http://wiki.meego.com/Packaging/Guidelines#Modifying_existing_Packages "ensure that macro usage is consistent and that the macros are available in MeeGo (see Macros )." Also, this considered to be good practices in other distributions as well: http://fedoraproject.org/wiki/Packaging/Guidelines#Macros -> "Use macros instead of hard-coded directory names (see Packaging:RPMMacros ) -> "http://fedoraproject.org/wiki/Packaging:RPMMacros > (never mind that it is in the internal/reserved namespace by virtue of > starting with a _ ) > > _______________________________________________ > MeeGo-packaging mailing list > [email protected] > http://lists.meego.com/listinfo/meego-packaging > _______________________________________________ MeeGo-packaging mailing list [email protected] http://lists.meego.com/listinfo/meego-packaging
