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: Subtle tweak to bug 2078744 fix logic...
Date: Mon, 23 Nov 2026 09:34:14 GMT [thread overview]
Message-ID: <179542645480.1.5132241434312401027.rpms-rpm-0c48f210b134@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 0c48f210b13430b4c0e1964d6b924eec1395273f
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2022-04-26T11:20:13+03:00
Stats : +9/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/0c48f210b13430b4c0e1964d6b924eec1395273f?branch=pmatilai-v6
Log:
Subtle tweak to bug 2078744 fix logic...
---
diff --git a/0001-Fix-rpmbuild-br-not-building-.src.rpm-regression-RhB.patch b/0001-Fix-rpmbuild-br-not-building-.src.rpm-regression-RhB.patch
index 283306e..3214413 100644
--- a/0001-Fix-rpmbuild-br-not-building-.src.rpm-regression-RhB.patch
+++ b/0001-Fix-rpmbuild-br-not-building-.src.rpm-regression-RhB.patch
@@ -1,5 +1,5 @@
-From 1bbe9d449543916ae44834c323d1640f2c8486e7 Mon Sep 17 00:00:00 2001
-Message-Id: <1bbe9d449543916ae44834c323d1640f2c8486e7.1650960341.git.pmatilai@redhat.com>
+From feeeca5148ceadba5fa0af13bfabda0b716566d5 Mon Sep 17 00:00:00 2001
+Message-Id: <feeeca5148ceadba5fa0af13bfabda0b716566d5.1650961200.git.pmatilai@redhat.com>
From: Panu Matilainen <pmatilai@redhat.com>
Date: Tue, 26 Apr 2022 11:00:41 +0300
Subject: [PATCH] Fix rpmbuild -br not building .src.rpm regression
@@ -10,19 +10,21 @@ in the testsuite and commit ad8b9bd2ca93cf4319680f056bb40bfc24661991
missed this twist in the logic. Fixing is an obvious one-liner now,
add a test to ensure it doesn't happen again.
---
- rpmbuild.c | 2 ++
+ rpmbuild.c | 4 ++++
tests/rpmbuild.at | 16 ++++++++++++++++
- 2 files changed, 18 insertions(+)
+ 2 files changed, 20 insertions(+)
diff --git a/rpmbuild.c b/rpmbuild.c
-index de78976ff..1e8c1ce09 100644
+index de78976ff..da3810f75 100644
--- a/rpmbuild.c
+++ b/rpmbuild.c
-@@ -667,6 +667,8 @@ int main(int argc, char *argv[])
+@@ -667,6 +667,10 @@ int main(int argc, char *argv[])
break;
/* fallthrough */
case 'r':
-+ ba->buildAmount |= RPMBUILD_PACKAGESOURCE;
++ /* build src.rpm only on explicit -br */
++ if (buildChar == 'r')
++ ba->buildAmount |= RPMBUILD_PACKAGESOURCE;
+ /* fallthrough */
case 'd':
ba->buildAmount |= RPMBUILD_BUILDREQUIRES;
reply other threads:[~2026-11-23 9:34 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=179542645480.1.5132241434312401027.rpms-rpm-0c48f210b134@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