[bacula-docs/el5] Disable debug or mock RHEL 5 complains

Simone Caronni slaanesh at fedoraproject.org
Thu Jul 19 12:02:58 UTC 2012


commit 20ce4e7f9c8f9f3e53d0df9c39570c732eddd2f0
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Thu Jul 19 14:02:49 2012 +0200

    Disable debug or mock RHEL 5 complains

 bacula-docs.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/bacula-docs.spec b/bacula-docs.spec
index 31c0595..e3c0072 100644
--- a/bacula-docs.spec
+++ b/bacula-docs.spec
@@ -1,3 +1,5 @@
+%define debug_package %{nil}
+
 Name:           bacula-docs
 Version:        2.4.4
 Release:        4%{?dist}
@@ -6,7 +8,7 @@ Group:          Documentation
 License:        GPL
 URL:            http://www.bacula.org
 Source0:        http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:      noarch
 
 BuildRequires:  tetex-latex, tetex, ghostscript, latex2html


More information about the scm-commits mailing list