From a469b142a5bd50c433e054b9798217275eeef6fb Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Feb 07 2011 09:22:57 +0000 Subject: Comment on BuildRoot not being required any more Comment on BuildRoot not being required any more, but keeping a BuildRoot definition for spec file robustness. Someone might build this spec file in a build environment where BuildRoot is (still) needed. Also change to the mkdir based BuildRoot definition. --- 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