[mosh/el5] Replace $RPM_BUILD_ROOT with %{builddir}

Alex Chernyakhovsky achernya at fedoraproject.org
Wed Mar 27 06:36:57 UTC 2013


commit bfc7b9d98efc44cc34506fe70c90893e86e0ed34
Author: Alexander Chernyakhovsky <achernya at mit.edu>
Date:   Wed Mar 27 02:35:24 2013 -0400

    Replace $RPM_BUILD_ROOT with %{builddir}

 mosh.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mosh.spec b/mosh.spec
index 27b363f..0747cf8 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -39,8 +39,8 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
 
 
 %files


More information about the scm-commits mailing list