public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing
@ 2026-11-23 9:35 Michal Domonkos
0 siblings, 0 replies; only message in thread
From: Michal Domonkos @ 2026-11-23 9:35 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:35 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:35 [rpms/rpm] pmatilai-v6: Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing Michal Domonkos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox