[dvtm/el5] EL5 doesn't like not having a BuildRoot defined in the spec file.

Adam Miller maxamillion at fedoraproject.org
Fri Jan 27 05:19:09 UTC 2012


commit bae65fad222f0423c2230f35c6b61038756b0b93
Author: Adam Miller <maxamillion at fedoraproject.org>
Date:   Thu Jan 26 23:18:53 2012 -0600

    EL5 doesn't like not having a BuildRoot defined in the spec file.

 dvtm.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/dvtm.spec b/dvtm.spec
index eebbf58..a2918ee 100644
--- a/dvtm.spec
+++ b/dvtm.spec
@@ -9,6 +9,8 @@ Source0:        http://www.brain-dump.org/projects/%{name}/%{name}-%{version}.ta
 Patch0:         Makefile-0.5.2.patch
 BuildRequires:  ncurses-devel
 
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
 %description
 dvtm brings the concept of tiling window management, popularized by
 X11-window managers like dwm to the console. As a console window


More information about the scm-commits mailing list