0 -> RPMFI_NOHEADER enum for new rpmfiNew
This commit is contained in:
parent
869873384b
commit
ea7c59e3c1
12
abrt-0.0.1-newenum.patch
Normal file
12
abrt-0.0.1-newenum.patch
Normal file
@ -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] = "";
|
@ -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 <caolanm@redhat.com> - 0.0.1-14
|
||||
- 0 -> RPMFI_NOHEADER enum for new rpmfiNew
|
||||
|
||||
* Sat Mar 07 2009 Jesse Keating <jkeating@redhat.com> - 0.0.1-13
|
||||
- Bump for new rpm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user