public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Domonkos <mdomonko@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing
Date: Mon, 23 Nov 2026 09:35:23 GMT	[thread overview]
Message-ID: <179542652360.1.9561588142708017371.rpms-rpm-9042b409567e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 9042b409567e8479d6ddafc26e33badbe3bb3457
            Author : Michal Domonkos <mdomonko@redhat.com>
            Date   : 2024-05-29T13:29:54+02:00
            Stats  : +34/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/9042b409567e8479d6ddafc26e33badbe3bb3457?branch=pmatilai-v6

            Log:
            Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing

Yay, more regressions...

---
diff --git a/0001-Fix-regression-on-subpackage-debuginfo-RPMTAG_SOURCE.patch b/0001-Fix-regression-on-subpackage-debuginfo-RPMTAG_SOURCE.patch
new file mode 100644
index 0000000..1769578
--- /dev/null
+++ b/0001-Fix-regression-on-subpackage-debuginfo-RPMTAG_SOURCE.patch
@@ -0,0 +1,29 @@
+From e0e43e93777701f5f2e6f7505b8e9b9e9681aee1 Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Wed, 29 May 2024 12:57:34 +0300
+Subject: [PATCH] Fix regression on subpackage debuginfo RPMTAG_SOURCERPM
+ missing
+
+Didn't bisect but this is probably due to mucking around with the
+src.rpm name generation in dc47a50c6345a25b861305d8aa8ae464098834ff,
+but it's also much saner this way: the info should be copied from the
+main debuginfo package along with all the other similar stuff.
+---
+ build/files.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/build/files.c b/build/files.c
+index f57d183d5..f85ad7ed0 100644
+--- a/build/files.c
++++ b/build/files.c
+@@ -2805,6 +2805,7 @@ static rpmTagVal copyTagsFromMainDebug[] = {
+     RPMTAG_OS,
+     RPMTAG_PLATFORM,
+     RPMTAG_OPTFLAGS,
++    RPMTAG_SOURCERPM,
+     0
+ };
+ 
+-- 
+2.45.1
+

diff --git a/rpm.spec b/rpm.spec
index 5210bc8..6975b39 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,7 +27,7 @@
 
 %global rpmver 4.19.91
 #global snapver rc1
-%global baserelease 3
+%global baserelease 4
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -154,6 +154,7 @@ rpm-4.19.91-weak-user-group.patch
 0003-Make-build-in-place-much-less-of-a-hack-and-also-wor.patch
 0001-Fix-incomplete-header-on-plain-src.rpm-build-modes-r.patch
 0001-Hammer-in-no-debuginfo-for-noarch-packages-damn-it-r.patch
+0001-Fix-regression-on-subpackage-debuginfo-RPMTAG_SOURCE.patch
 
 # These are not yet upstream
 rpm-4.7.1-geode-i686.patch
@@ -656,6 +657,9 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Wed May 29 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.91-4
+- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing
+
 * Tue May 28 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.91-3
 - Fix debuginfo enabled for noarch when --target is used regression
 

                 reply	other threads:[~2026-11-23  9:35 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=179542652360.1.9561588142708017371.rpms-rpm-9042b409567e@fedoraproject.org \
    --to=mdomonko@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