rpms/rpm/devel rpm-4.4.2.2-pyproblem.patch, NONE, 1.1 rpm.spec, 1.266, 1.267
Panu Matilainen (pmatilai)
fedora-extras-commits at redhat.com
Wed Oct 24 07:00:07 UTC 2007
- Previous message (by thread): rpms/perl-Gnome2-VFS/F-8 perl-Gnome2-VFS.spec, 1.3, 1.4 sources, 1.2, 1.3
- Next message (by thread): rpms/perl-SQL-Translator/devel perl-SQL-Translator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pmatilai
Update of /cvs/pkgs/rpms/rpm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32537
Modified Files:
rpm.spec
Added Files:
rpm-4.4.2.2-pyproblem.patch
Log Message:
- Don't mess up problem pkgNEVR in python ts.check() (#349091)
rpm-4.4.2.2-pyproblem.patch:
--- NEW FILE rpm-4.4.2.2-pyproblem.patch ---
changeset: 6193:cc2abc150d64
tag: tip
user: Panu Matilainen <pmatilai at redhat.com>
date: Wed Oct 24 09:50:13 2007 +0300
summary: Don't mess up problem pkgNEVR in python ts.check() (rhbz#349091)
diff -r 751cf2c7614e -r cc2abc150d64 python/rpmts-py.c
--- a/python/rpmts-py.c Thu Oct 18 09:34:54 2007 +0300
+++ b/python/rpmts-py.c Wed Oct 24 09:50:13 2007 +0300
@@ -439,7 +439,7 @@ fprintf(stderr, "*** rpmts_Check(%p) ts
if (p->type == RPMPROB_BADRELOCATE)
continue;
- byName = p->pkgNEVR;
+ byName = strdup(p->pkgNEVR);
if ((byArch= strrchr(byName, '.')) != NULL)
*byArch++ = '\0';
if ((byRelease = strrchr(byName, '-')) != NULL)
@@ -475,6 +475,7 @@ fprintf(stderr, "*** rpmts_Check(%p) ts
#endif
PyList_Append(list, (PyObject *) cf);
Py_DECREF(cf);
+ free(byName);
}
ps = rpmpsFree(ps);
Index: rpm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpm/devel/rpm.spec,v
retrieving revision 1.266
retrieving revision 1.267
diff -u -r1.266 -r1.267
--- rpm.spec 22 Oct 2007 05:51:37 -0000 1.266
+++ rpm.spec 24 Oct 2007 06:59:34 -0000 1.267
@@ -6,7 +6,7 @@
Summary: The RPM package management system
Name: rpm
Version: 4.4.2.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source: http://rpm.org/releases/rpm-4.4.x/%{name}-%{version}.tar.gz
@@ -20,6 +20,7 @@
Patch8: rpm-4.4.2.2-nonutf-comment.patch
Patch9: rpm-4.4.2.2-osgideps.patch
Patch10: rpm-4.4.2.2-debugedit-fpc.patch
+Patch11: rpm-4.4.2.2-pyproblem.patch
# XXX Beware, this is one murky license, partially GPL/LGPL dual-licensed
# and several different components with their own licenses included...
@@ -146,6 +147,7 @@
%patch8 -p1 -b .nonutf-comment
%patch9 -p1 -b .osgideps
%patch10 -p1 -b .debugedit-fpc
+%patch11 -p1 -b .pyproblem
# force external popt
rm -rf popt/
@@ -408,6 +410,9 @@
%endif
%changelog
+* Wed Oct 24 2007 Panu Matilainen <pmatilai at redhat.com> 4.4.2.2-6
+- Don't mess up problem pkgNEVR in python ts.check() (#349091)
+
* Mon Oct 22 2007 Panu Matilainen <pmatilai at redhat.com> 4.4.2.2-5
- add missing popt-devel dependency to rpm-devel
- Previous message (by thread): rpms/perl-Gnome2-VFS/F-8 perl-Gnome2-VFS.spec, 1.3, 1.4 sources, 1.2, 1.3
- Next message (by thread): rpms/perl-SQL-Translator/devel perl-SQL-Translator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list