public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jindrich Novy <jnovy@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - fix parsing of boolean expressions in spec (#456103)
Date: Mon, 23 Nov 2026 09:25:06 GMT [thread overview]
Message-ID: <179542590650.1.876845514872044251.rpms-rpm-d12546613447@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : d12546613447f899ece63cafe1f63387b0bf75dd
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date : 2008-09-01T14:38:38+00:00
Stats : +26/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/d12546613447f899ece63cafe1f63387b0bf75dd?branch=pmatilai-v6
Log:
- fix parsing of boolean expressions in spec (#456103)
---
diff --git a/rpm-4.5.90-macrofix.patch b/rpm-4.5.90-macrofix.patch
new file mode 100644
index 0000000..10522b9
--- /dev/null
+++ b/rpm-4.5.90-macrofix.patch
@@ -0,0 +1,19 @@
+commit 3b9636cd69b81b6e23331bb797c0fdde79e97316
+Author: Jindrich Novy <jnovy@redhat.com>
+Date: Thu Aug 14 13:08:09 2008 +0200
+
+ Accept numerical characters in macro expansion (related to rhbz#456103)
+
+diff --git a/build/expression.c b/build/expression.c
+index 970ec05..83a4021 100644
+--- a/build/expression.c
++++ b/build/expression.c
+@@ -272,7 +272,7 @@ static int rdToken(ParseState state)
+ char *temp;
+ size_t ts;
+
+- for (ts=1; p[ts] && (risalpha(p[ts]) || p[ts] == '_'); ts++);
++ for (ts=1; p[ts] && (risalnum(p[ts]) || p[ts] == '_'); ts++);
+ temp = xmalloc(ts+1);
+ memcpy(temp, p, ts);
+ p += ts-1;
diff --git a/rpm.spec b/rpm.spec
index ce1eb1f..093b430 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.3
+Release: 0.%{snapver}.4
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -35,6 +35,7 @@ Patch100: rpm-4.6.x-no-pkgconfig-reqs.patch
Patch200: rpm-4.5.90-archivesize.patch
Patch201: rpm-4.5.90-noarch-subpackages.patch
Patch202: rpm-4.5.90-segfault.patch
+Patch203: rpm-4.5.90-macrofix.patch
# These are not yet upstream
Patch300: rpm-4.5.90-posttrans.patch
@@ -168,6 +169,7 @@ that will manipulate RPM packages and databases.
%patch200 -p1 -b .archivesize
%patch201 -p1 -b .noarch-subpackages
%patch202 -p1 -b .segfault
+%patch203 -p1 -b .macrofix
# needs a bit of upstream love first...
#%patch300 -p1 -b .posttrans
@@ -346,6 +348,10 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Mon Sep 01 2008 Jindrich Novy <jnovy@redhat.com>
+- fix parsing of boolean expressions in spec (#456103)
+ (unbreaks pam, jpilot and maybe other builds)
+
* Tue Aug 26 2008 Jindrich Novy <jnovy@redhat.com>
- add support for noarch subpackages
- fix segfault in case of insufficient disk space detected (#460146)
reply other threads:[~2026-11-23 9:25 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=179542590650.1.876845514872044251.rpms-rpm-d12546613447@fedoraproject.org \
--to=jnovy@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