public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Katz <katzj@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - python: dbmatch keys can be unicode objects also (#219008)
Date: Mon, 23 Nov 2026 09:23:56 GMT [thread overview]
Message-ID: <179542583682.1.7859319591678449165.rpms-rpm-e6f84e9f86e2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : e6f84e9f86e205b36e7c9b80123b889f3f2561d4
Author : Jeremy Katz <katzj@fedoraproject.org>
Date : 2006-12-11T18:35:35+00:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/e6f84e9f86e205b36e7c9b80123b889f3f2561d4?branch=pmatilai-v6
Log:
- python: dbmatch keys can be unicode objects also (#219008)
---
diff --git a/rpm-4.4.2-unicodekey.patch b/rpm-4.4.2-unicodekey.patch
new file mode 100644
index 0000000..3578850
--- /dev/null
+++ b/rpm-4.4.2-unicodekey.patch
@@ -0,0 +1,11 @@
+--- rpm-4.4.2/python/rpmts-py.c.unicode 2006-12-11 13:32:38.000000000 -0500
++++ rpm-4.4.2/python/rpmts-py.c 2006-12-11 13:33:13.000000000 -0500
+@@ -1362,7 +1362,7 @@
+
+ if (Key) {
+ /*@-branchstate@*/
+- if (PyString_Check(Key)) {
++ if (PyString_Check(Key) || PyUnicode_Check(Key)) {
+ key = PyString_AsString(Key);
+ len = PyString_Size(Key);
+ } else if (PyInt_Check(Key)) {
diff --git a/rpm.spec b/rpm.spec
index 82eafd1..05a691b 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
%define version 4.4.2
Version: %{version}
%{expand: %%define rpm_version %{version}}
-Release: 37%{?dist}
+Release: 38%{?dist}
Group: System Environment/Base
Source: ftp://wraptastic.org/pub/rpm-4.4.x/rpm-%{rpm_version}.tar.gz
Source1: mono-find-provides
@@ -61,6 +61,7 @@ Patch32: rpm-4.4.2-debugpaths.patch
Patch33: rpm-4.4.2-transaction-order.patch
Patch34: rpm-4.4.2-debugopt.patch
Patch35: rpm-4.4.2-query-flushbuffer.patch
+Patch36: rpm-4.4.2-unicodekey.patch
License: GPL
Conflicts: patch < 2.5
%ifos linux
@@ -209,6 +210,7 @@ shell-like rules.
%patch33 -p1 -b .order
%patch34 -p1 -b .dbgopt
%patch35 -p1 -b .flush
+%patch36 -p1 -b .unicode
# rebuild configure for ipv6
autoconf
@@ -605,6 +607,9 @@ exit 0
%{__includedir}/popt.h
%changelog
+* Mon Dec 11 2006 Jeremy Katz <katzj@redhat.com> - 4.4.2-38
+- python: dbmatch keys can be unicode objects also (#219008)
+
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 4.4.2-37
- rebuild for python 2.5
reply other threads:[~2026-11-23 9:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542583682.1.7859319591678449165.rpms-rpm-e6f84e9f86e2@fedoraproject.org \
--to=katzj@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox