diff --git a/abrt-0.0.1-newenum.patch b/abrt-0.0.1-newenum.patch new file mode 100644 index 0000000..b5a2123 --- /dev/null +++ b/abrt-0.0.1-newenum.patch @@ -0,0 +1,12 @@ +diff -ru abrt-0.0.1.orig/lib/MiddleWare/RPMInfo.cpp abrt-0.0.1/lib/MiddleWare/RPMInfo.cpp +--- abrt-0.0.1.orig/lib/MiddleWare/RPMInfo.cpp 2009-03-03 16:17:40.000000000 +0000 ++++ abrt-0.0.1/lib/MiddleWare/RPMInfo.cpp 2009-03-08 15:18:54.000000000 +0000 +@@ -72,7 +72,7 @@ + Header header; + if ((header = rpmdbNextIterator(iter)) != NULL) + { +- rpmfi fi = rpmfiNew(ts, header, RPMTAG_BASENAMES, 0); ++ rpmfi fi = rpmfiNew(ts, header, RPMTAG_BASENAMES, RPMFI_NOHEADER); + pgpHashAlgo hashAlgo; + std::string headerHash; + char computedHash[1024] = ""; diff --git a/abrt.spec b/abrt.spec index 7015c47..f05f5ec 100644 --- a/abrt.spec +++ b/abrt.spec @@ -1,7 +1,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 0.0.1 -Release: 13%{?dist} +Release: 14%{?dist} License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/crash-catcher/ @@ -15,6 +15,8 @@ BuildRequires: sqlite-devel > 3.0 BuildRequires: desktop-file-utils BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: abrt-0.0.1-newenum.patch + %description %{name} is a tool to help users to detect defects in applications and to create a bug report with all informations needed by maintainer to fix it. @@ -91,6 +93,7 @@ email. %prep %setup -q +%patch0 -p1 -b .newenum %build %configure @@ -179,6 +182,9 @@ fi %{_libdir}/%{name}/libMailx.so* %changelog +* Sun Mar 08 2009 Caolán McNamara - 0.0.1-14 +- 0 -> RPMFI_NOHEADER enum for new rpmfiNew + * Sat Mar 07 2009 Jesse Keating - 0.0.1-13 - Bump for new rpm