public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - permit tab as macro argument separator (#467567)
Date: Mon, 23 Nov 2026 09:25:12 GMT	[thread overview]
Message-ID: <179542591231.1.7700745750196181423.rpms-rpm-57f2a13d9998@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 57f2a13d999856209ccd6f213fe1ab180604fa93
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date   : 2008-10-18T23:03:04+00:00
Stats  : +29/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/57f2a13d999856209ccd6f213fe1ab180604fa93?branch=pmatilai-v6

Log:
- permit tab as macro argument separator (#467567)

---
diff --git a/rpm-4.6.0-rc1-permit-tab.patch b/rpm-4.6.0-rc1-permit-tab.patch
new file mode 100644
index 0000000..964e822
--- /dev/null
+++ b/rpm-4.6.0-rc1-permit-tab.patch
@@ -0,0 +1,20 @@
+commit 49c515179ac0d34c2bb43bf242b8eb27ff6c11b2
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date:   Sun Oct 19 01:53:03 2008 +0300
+
+    Permit tab as whitespace between macro arguments (rhbz#467567)
+    - another dumb regression from macro handling cleanups
+
+diff --git a/rpmio/macro.c b/rpmio/macro.c
+index 1e292c6..d1cbf93 100644
+--- a/rpmio/macro.c
++++ b/rpmio/macro.c
+@@ -798,7 +798,7 @@ grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se,
+ 	char *s = xcalloc((lastc-se)+1, sizeof(*s));
+ 	memcpy(s, se, (lastc-se));
+ 
+-	argvSplit(&av, s, " ");
++	argvSplit(&av, s, " \t");
+ 	argvAppend(&argv, av);
+ 
+ 	argvFree(av);

diff --git a/rpm.spec b/rpm.spec
index b5a01a4..fc6cbe6 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: 0.%{snapver}.1
+Release: 0.%{snapver}.2
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -32,6 +32,9 @@ Patch2: rpm-4.5.90-gstreamer-provides.patch
 # XXX only create provides for pkgconfig and libtool initially
 Patch100: rpm-4.6.x-no-pkgconfig-reqs.patch
 
+# Patches already in upstream
+Patch200: rpm-4.6.0-rc1-permit-tab.patch
+
 # These are not yet upstream
 Patch300: rpm-4.5.90-posttrans.patch
 
@@ -162,6 +165,8 @@ that will manipulate RPM packages and databases.
 %patch2 -p1 -b .gstreamer-prov
 %patch100 -p1 -b .pkgconfig-deps
 
+%patch200 -p1 -b .permit-tab
+
 # needs a bit of upstream love first...
 #%patch300 -p1 -b .posttrans
 
@@ -352,6 +357,9 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Sun Oct 19 2008 Panu Matilainen <pmatilai@redhat.com>
+- permit tab as macro argument separator (#467567)
+
 * Thu Oct 16 2008 Panu Matilainen <pmatilai@redhat.com>
 - update to 4.6.0-rc1 
 - fixes #465586, #466597, #465409, #216221, #466503, #466009, #463447...

                 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=179542591231.1.7700745750196181423.rpms-rpm-57f2a13d9998@fedoraproject.org \
    --to=pmatilai@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