diff --git a/erlang.spec b/erlang.spec index 1739cc1..9ff3226 100644 --- a/erlang.spec +++ b/erlang.spec @@ -86,7 +86,8 @@ Patch12: otp-0012-Remove-strange-name-field-in-efile_drv.c-as-it-upset.patch Patch13: otp-0013-Remove-rpath-from-esock_ssl.patch # end of autogenerated patch tag list -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# BuildRoot not strictly needed since F10, but keep it for spec file robustness +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: ncurses-devel BuildRequires: openssl-devel