public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
Date: Mon, 23 Nov 2026 09:32:48 GMT	[thread overview]
Message-ID: <179542636824.1.5788424298541882059.rpms-rpm-c45704ba930a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : c45704ba930a411741d323bbd3e81dad87207385
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2019-06-14T10:37:34+03:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/c45704ba930a411741d323bbd3e81dad87207385?branch=pmatilai-v6

Log:
Temporarily re-enable buildarch macro for python_provide macro use (#1720139)

---
diff --git a/rpm-4.14.90-enable-buildarch-macro.patch b/rpm-4.14.90-enable-buildarch-macro.patch
new file mode 100644
index 0000000..ca045b4
--- /dev/null
+++ b/rpm-4.14.90-enable-buildarch-macro.patch
@@ -0,0 +1,13 @@
+diff --git a/build/parsePreamble.c b/build/parsePreamble.c
+index f29434276..e7cfdee51 100644
+--- a/build/parsePreamble.c
++++ b/build/parsePreamble.c
+@@ -1039,7 +1039,7 @@ static struct PreambleRec_s const preambleList[] = {
+     {RPMTAG_PREFIXES,		0, 0, 1, LEN_AND_STR("prefix")},
+     {RPMTAG_BUILDROOT,		0, 0, 0, LEN_AND_STR("buildroot")},
+     {RPMTAG_BUILDARCHS,		0, 0, 0, LEN_AND_STR("buildarchitectures")},
+-    {RPMTAG_BUILDARCHS,		0, 0, 0, LEN_AND_STR("buildarch")},
++    {RPMTAG_BUILDARCHS,		0, 0, 1, LEN_AND_STR("buildarch")},
+     {RPMTAG_BUILDCONFLICTS,	0, 0, 0, LEN_AND_STR("buildconflicts")},
+     {RPMTAG_BUILDPREREQ,	0, 1, 0, LEN_AND_STR("buildprereq")},
+     {RPMTAG_BUILDREQUIRES,	0, 0, 0, LEN_AND_STR("buildrequires")},

diff --git a/rpm.spec b/rpm.spec
index 24501c5..700afea 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
 
 %global rpmver 4.14.90
 %global snapver git14653
-%global rel 14
+%global rel 15
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -49,6 +49,8 @@ Patch3: rpm-4.9.90-no-man-dirs.patch
 Patch5: rpm-4.12.0-rpm2cpio-hack.patch
 # https://github.com/rpm-software-management/rpm/pull/473
 Patch6: 0001-find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
+# Temporarily re-enable buildarch macro in specs for python_provide macro use
+Patch7: rpm-4.14.90-enable-buildarch-macro.patch
 
 # Patches already upstream:
 # https://github.com/rpm-software-management/rpm/commit/526641ceeca12fbaa878401f8e65d17f240a9ae5
@@ -542,6 +544,9 @@ make check || (cat tests/rpmtests.log; exit 0)
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
+- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
+
 * Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
 - Don't fail build trying to kill a non-existent process (#1720143)
 

                 reply	other threads:[~2026-11-23  9:32 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=179542636824.1.5788424298541882059.rpms-rpm-c45704ba930a@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --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