- default dump location = /var/spool/abrt

- related to trac#927

Signed-off-by: Jakub Filak <[email protected]>
---
 abrt.spec.in | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/abrt.spec.in b/abrt.spec.in
index 1e78055..bb2274e 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -251,7 +251,16 @@ problems handled by ABRT in Python.
 
 %build
 autoconf
-CFLAGS="%{optflags} -Werror" %configure --disable-silent-rules
+%if 0%{?fedora} < 18
+    %if 0%{?rhel} < 7
+        CFLAGS="%{optflags} -Werror" %configure 
--with-defaultdumplocation=/var/tmp/abrt --disable-silent-rules
+    %else
+        CFLAGS="%{optflags} -Werror" %configure --disable-silent-rules
+    %endif
+%else
+        CFLAGS="%{optflags} -Werror" %configure --disable-silent-rules
+%endif
+    
 make %{?_smp_mflags}
 
 %install
-- 
1.8.1

Reply via email to