fixes compat issues with bugzilla 4.2 rhbz#823375

This commit is contained in:
Jiri Moskovcak 2012-05-22 14:35:22 +02:00
commit 08fdf9c90a
2 changed files with 18 additions and 1 deletions

View file

@ -10,7 +10,7 @@
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.0.3
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/
@ -29,6 +29,7 @@ Patch9: 0001-a-a-save-package-data-Fix-NULL-dereference.patch
Patch10: 0001-Fix-free-space-checking.patch
Patch11: 0001-not-send-tainted-kernel-and-broken-bios.patch
Patch12: 0001-ccpp_events.conf-fix-typo.patch
Patch13: rhbz42.patch
BuildRequires: dbus-devel
BuildRequires: gtk2-devel
BuildRequires: curl-devel
@ -230,6 +231,7 @@ Virtual package to make easy default installation on desktop environments.
%patch10 -p1 -b .Fix-free-space-checking.patch
%patch11 -p1
%patch12 -p1
%patch13 -p1
%build
autoconf
@ -531,6 +533,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%defattr(-,root,root,-)
%changelog
* Tue May 22 2012 Jiri Moskovcak <jmoskovc@redhat.com> - 2.0.3-7
- fixes compat issues with bugzilla 4.2
- Resolves: #823375
* Thu Oct 13 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 2.0.3-6
- 'invalid number '/var/spool/abrt'' when an app crashes on a minimal system
- Resolves: 745286

11
rhbz42.patch Normal file
View file

@ -0,0 +1,11 @@
--- abrt-2.0.3/src/plugins/rhbz.c 2011-06-08 17:00:18.000000000 +0200
+++ abrt-2.0.3_rhbz42/src/plugins/rhbz.c 2012-05-22 14:25:29.376544736 +0200
@@ -130,7 +130,7 @@ int rhbz_bug_id(xmlrpc_value* xml)
if (env.fault_occurred)
abrt_xmlrpc_die(&env);
- bug = rhbz_get_member("bug_id", item);
+ bug = rhbz_get_member("id", item);
xmlrpc_DECREF(item);
if (!bug)
abrt_xmlrpc_die(&env);