[bacula/el5] Better buildroot
Simone Caronni
slaanesh at fedoraproject.org
Thu Jul 19 12:26:36 UTC 2012
commit 724a29dd117019028ab35dc8bf15572292b5d0bc
Author: Simone Caronni <negativo17 at gmail.com>
Date: Thu Jul 19 14:26:14 2012 +0200
Better buildroot
bacula.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index e062ca9..31dd49e 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -8,7 +8,7 @@ Release: 4%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://www.%{name}.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source3: %{name}-gconsole.desktop
More information about the scm-commits
mailing list