summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-05-11 21:12:23 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-05-11 21:12:23 +0700
commit781a8f6a168a4d1fcfe9fc0b4f2acb94b30082b7 (patch)
tree0fa2785c315bcd555e1cf68233b07dd065ae05c3
parent459c5e924b547421f92f00204307835d758392f2 (diff)
downloadspecs-781a8f6a168a4d1fcfe9fc0b4f2acb94b30082b7.tar.gz
specs-781a8f6a168a4d1fcfe9fc0b4f2acb94b30082b7.tar.xz
specs-781a8f6a168a4d1fcfe9fc0b4f2acb94b30082b7.zip
also specify BuildRoot on el5
-rw-r--r--funpl/luarocks.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/funpl/luarocks.spec b/funpl/luarocks.spec
index a5beda8..807279d 100644
--- a/funpl/luarocks.spec
+++ b/funpl/luarocks.spec
@@ -23,6 +23,9 @@ URL: http://luarocks.org
Source0: http://luarocks.org/releases/luarocks-%{version}.tar.gz
BuildArch: noarch
+%if 0%{?el5}
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+%endif
BuildRequires: lua-devel
%if 0%{?fedora} >= 16