inlcude 'package' in AVC Bugzilla reports
This commit is contained in:
parent
c17f83ba27
commit
d6c190c831
37
0001-include-package-in-AVC-bugzilla-bug-reports.patch
Normal file
37
0001-include-package-in-AVC-bugzilla-bug-reports.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From c336fd29a62c3c772957925910a9a2e8e257f88f Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Filak <jfilak@redhat.com>
|
||||
Date: Fri, 4 Apr 2014 15:35:22 +0200
|
||||
Subject: [LIBREPORT PATCH] include 'package' in AVC bugzilla bug reports
|
||||
|
||||
Related to rhbz#1075452
|
||||
|
||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||||
---
|
||||
src/report-python/__init__.py | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/report-python/__init__.py b/src/report-python/__init__.py
|
||||
index 6e71ac7..3d2595f 100644
|
||||
--- a/src/report-python/__init__.py
|
||||
+++ b/src/report-python/__init__.py
|
||||
@@ -151,7 +151,7 @@ def getVersion():
|
||||
|
||||
return _hardcoded_default_version
|
||||
|
||||
-def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSignature, executable=None):
|
||||
+def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSignature, executable=None, package=None):
|
||||
pd = problem_data()
|
||||
pd.add("component", component)
|
||||
pd.add("hashmarkername", hashmarkername)
|
||||
@@ -160,6 +160,8 @@ def createAlertSignature(component, hashmarkername, hashvalue, summary, alertSig
|
||||
pd.add("description", alertSignature)
|
||||
if executable:
|
||||
pd.add("executable", executable)
|
||||
+ if package:
|
||||
+ pd.add("package", package)
|
||||
pd.add_basics()
|
||||
|
||||
return pd
|
||||
--
|
||||
1.8.3.1
|
||||
|
@ -7,13 +7,15 @@
|
||||
Summary: Generic library for reporting various problems
|
||||
Name: libreport
|
||||
Version: 2.2.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://fedorahosted.org/abrt/
|
||||
Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
|
||||
Source1: autogen.sh
|
||||
|
||||
Patch0001: 0001-include-package-in-AVC-bugzilla-bug-reports.patch
|
||||
|
||||
# git is need for '%%autosetup -S git' which automatically applies all the
|
||||
# patches above. Please, be aware that the patches must be generated
|
||||
# by 'git format-patch'
|
||||
@ -649,6 +651,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Apr 07 2014 Jakub Filak <jfilak@redhat.com> 2.2.1-2
|
||||
- include 'package' in AVC bugzilla bug reports
|
||||
|
||||
* Fri Apr 04 2014 Jakub Filak <jfilak@redhat.com> 2.2.1-1
|
||||
- update the list of ignored words
|
||||
- wizard: introduce the searched words list
|
||||
|
Loading…
Reference in New Issue
Block a user