- default dump dir mode = 0640 - dump dir ownership template = abrt:user's group
- related to trac#927 Signed-off-by: Jakub Filak <[email protected]> --- libreport.spec.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libreport.spec.in b/libreport.spec.in index f93099a..1b5f098 100644 --- a/libreport.spec.in +++ b/libreport.spec.in @@ -247,7 +247,17 @@ infrastructure or uploading the gathered data over ftp/scp... %build autoconf -CFLAGS="%{optflags} -Werror" %configure --disable-silent-rules + +%if 0%{?fedora} < 18 + %if 0%{?rhel} < 7 + CFLAGS="%{optflags} -Werror" %configure --with-defaultdumpdirmode=0640 --disable-userownsdumpdir --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
