[eclipse-anyedit] Fix missing buildroot.

Alexander Kurtakov akurtakov at fedoraproject.org
Mon Nov 8 21:57:20 UTC 2010


commit c38be18e725b0d6be1e0c42abb8756e9b8fc6950
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Mon Nov 8 23:57:01 2010 +0200

    Fix missing buildroot.

 eclipse-anyedit.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/eclipse-anyedit.spec b/eclipse-anyedit.spec
index 01a6052..8ef9f62 100644
--- a/eclipse-anyedit.spec
+++ b/eclipse-anyedit.spec
@@ -38,10 +38,10 @@ rm -rf de
 rm -rf %{buildroot}
 
 # create plugins directory
-install -d -m755 %{install_loc}
+install -d -m755 ${RPM_BUILD_ROOT}%{install_loc}
 
 # install plugin
-unzip -q -d %{install_loc} build/rpmBuild/AnyEditTools.zip
+unzip -q -d ${RPM_BUILD_ROOT}%{install_loc} build/rpmBuild/AnyEditTools.zip
 
 %clean 
 rm -rf %{buildroot}


More information about the scm-commits mailing list