[mosh/el5] Add EPEL5 legacy BuildRoot

Alex Chernyakhovsky achernya at fedoraproject.org
Fri Apr 27 04:36:22 UTC 2012


commit 8f8d2e411e6392e3b768961037af883c0af02c26
Author: Alexander Chernyakhovsky <achernya at mit.edu>
Date:   Fri Apr 27 00:35:50 2012 -0400

    Add EPEL5 legacy BuildRoot

 mosh.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mosh.spec b/mosh.spec
index c9bfd0d..af936ec 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -17,6 +17,8 @@ BuildRequires:	ncurses-devel
 Requires:	openssh-clients
 Requires:	perl-IO-Tty
 
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
 %description
 Mosh is a remote terminal application that supports:
   - intermittent network connectivity,
@@ -35,6 +37,7 @@ make %{?_smp_mflags}
 
 
 %install
+rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 


More information about the scm-commits mailing list