Blame SOURCES/reporter-mantisbt-change-default-formating-file-for-.patch

d97f55
From 0f913e6c9e9539f9c91f819250176dc5c65f0363 Mon Sep 17 00:00:00 2001
d97f55
From: Matej Habrnal <mhabrnal@redhat.com>
d97f55
Date: Fri, 20 Feb 2015 00:27:05 +0100
d97f55
Subject: [PATCH] reporter-mantisbt: change default formating file for
d97f55
 duplicate issues
d97f55
d97f55
reporter-mantisbt doesn't work well with mantisbt_format.conf as a default
d97f55
format conf file for creating duplicate issues because the note which is added
d97f55
doesn't contain an 'Additional information' section.
d97f55
d97f55
Default formating file for duplicate is mantisbt_formatdup.conf
d97f55
d97f55
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
d97f55
---
d97f55
 src/plugins/reporter-mantisbt.c | 5 +++--
d97f55
 1 file changed, 3 insertions(+), 2 deletions(-)
d97f55
d97f55
diff --git a/src/plugins/reporter-mantisbt.c b/src/plugins/reporter-mantisbt.c
d97f55
index d281cdb..dc9968f 100644
d97f55
--- a/src/plugins/reporter-mantisbt.c
d97f55
+++ b/src/plugins/reporter-mantisbt.c
d97f55
@@ -253,7 +253,8 @@ int main(int argc, char **argv)
d97f55
         "\nRecognized boolean parameter (VALUE should be 1/0, yes/no): SSLVerify, CreatePrivate."
d97f55
         "\nParameters can be overridden via $Mantisbt_PARAM environment variables."
d97f55
         "\n"
d97f55
-        "\nFMTFILE and FMTFILE2 default to "CONF_DIR"/plugins/mantisbt_format.conf"
d97f55
+        "\nFMTFILE default to "CONF_DIR"/plugins/mantisbt_format.conf."
d97f55
+        "\nFMTFILE2 default to "CONF_DIR"/plugins/mantisbt_formatdup.conf."
d97f55
     );
d97f55
 
d97f55
     enum {
d97f55
@@ -272,7 +273,7 @@ int main(int argc, char **argv)
d97f55
     const char *dump_dir_name = ".";
d97f55
     GList *conf_file = NULL;
d97f55
     const char *fmt_file = CONF_DIR"/plugins/mantisbt_format.conf";
d97f55
-    const char *fmt_file2 = fmt_file;
d97f55
+    const char *fmt_file2 = CONF_DIR"/plugins/mantisbt_formatdup.conf";
d97f55
     char *abrt_hash = NULL;
d97f55
     char *ticket_no = NULL;
d97f55
     const char *tracker_str = "ABRT Server";
d97f55
-- 
d97f55
1.8.3.1
d97f55