Remi Collet wrote:
>
> My spec file is here : http://remi.collet.free.fr/rpms/extras/mysql++.spec
>
> No significant diff.
Okay. If you're happy, I'm happy. :)
> on my CentOS 4, __id_u is defined by /usr/lib/rpm/*/macros
I probably found the limitation on CentOS 3, which we must still support
here.
> The recommended values for the BuildRoot tag are (in descending order of
> preference) :
>
> %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
> %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> %{_tmppath}/%{name}-%{version}-%{release}-root
I agree with that guideline: the first is the best. It works on CentOS
3, and it's less brittle than the other two. Let's change it.