public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - permit tab as macro argument separator (#467567)
@ 2026-11-23  9:25 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:25 UTC (permalink / raw)
  To: git-commits

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...

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:25 [rpms/rpm] pmatilai-v6: - permit tab as macro argument separator (#467567) Panu Matilainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox