Blame SOURCES/0042-include-package-in-AVC-bugzilla-bug-reports.patch

0c9110
From d5a089e10c0af7b362689a113000c38341667e29 Mon Sep 17 00:00:00 2001
0c9110
From: Jakub Filak <jfilak@redhat.com>
0c9110
Date: Fri, 4 Apr 2014 15:35:22 +0200
0c9110
Subject: [LIBREPORT PATCH 42/93] include 'package' in AVC bugzilla bug reports
0c9110
0c9110
Resolves rhbz#1075452
0c9110
0c9110
Signed-off-by: Jakub Filak <jfilak@redhat.com>
0c9110
---
0c9110
 src/report-python/__init__.py | 4 +++-
0c9110
 1 file changed, 3 insertions(+), 1 deletion(-)
0c9110
0c9110
diff --git a/src/report-python/__init__.py b/src/report-python/__init__.py
0c9110
index 2c58736..c11b000 100644
0c9110
--- a/src/report-python/__init__.py
0c9110
+++ b/src/report-python/__init__.py
0c9110
@@ -147,7 +147,7 @@ def getVersion():
0c9110
 
0c9110
     return _hardcoded_default_version
0c9110
 
0c9110
-def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSignature, executable=None):
0c9110
+def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSignature, executable=None, package=None):
0c9110
     pd = problem_data()
0c9110
     pd.add("component", component)
0c9110
     pd.add("hashmarkername", hashmarkername)
0c9110
@@ -156,6 +156,8 @@ def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSig
0c9110
     pd.add("description", alertSignature)
0c9110
     if executable:
0c9110
         pd.add("executable", executable)
0c9110
+    if package:
0c9110
+        pd.add("package", package)
0c9110
     pd.add_basics()
0c9110
 
0c9110
     return pd
0c9110
-- 
0c9110
1.8.3.1
0c9110