From d6c190c8310b305239b582f9909cb206e8eb4700 Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Apr 07 2014 13:27:04 +0000 Subject: inlcude 'package' in AVC Bugzilla reports --- diff --git a/0001-include-package-in-AVC-bugzilla-bug-reports.patch b/0001-include-package-in-AVC-bugzilla-bug-reports.patch new file mode 100644 index 0000000..b5b879a --- /dev/null +++ b/0001-include-package-in-AVC-bugzilla-bug-reports.patch @@ -0,0 +1,37 @@ +From c336fd29a62c3c772957925910a9a2e8e257f88f Mon Sep 17 00:00:00 2001 +From: Jakub Filak +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 +--- + 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 + diff --git a/libreport.spec b/libreport.spec index 733dd9b..b06da36 100644 --- a/libreport.spec +++ b/libreport.spec @@ -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 2.2.1-2 +- include 'package' in AVC bugzilla bug reports + * Fri Apr 04 2014 Jakub Filak 2.2.1-1 - update the list of ignored words - wizard: introduce the searched words list