Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rpm for openSUSE:Factory checked in at 2022-10-20 11:09:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpm (Old) and /work/SRC/openSUSE:Factory/.rpm.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpm" Thu Oct 20 11:09:18 2022 rev:302 rq:1012066 version:4.17.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rpm/rpm.changes 2022-09-16 13:31:48.545165646 +0200 +++ /work/SRC/openSUSE:Factory/.rpm.new.2275/rpm.changes 2022-10-20 11:09:20.543731687 +0200 @@ -1,0 +2,13 @@ +Fri Sep 23 11:06:06 UTC 2022 - Stephan Kulow <[email protected]> + +- Update the macros file to simplify the debuginfo installation + + We don't support parallel installation of the same debuginfo - and so + don't patch the binaries to create unique build ids (easing pressure + on reproducable builds when compiling twice) + + Patching this in rpm-config-SUSE is technically not possible (as you + can't reliable undefine things defined in upstream macro). We tried in + https://github.com/openSUSE/rpm-config-SUSE/pull/59 and /60: + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ rpm.spec: same change ++++++ macrosin.diff ++++++ --- /var/tmp/diff_new_pack.UouR1B/_old 2022-10-20 11:09:21.711734054 +0200 +++ /var/tmp/diff_new_pack.UouR1B/_new 2022-10-20 11:09:21.715734062 +0200 @@ -1,6 +1,8 @@ ---- macros.in.orig 2021-09-23 19:13:54.532045005 +0000 -+++ macros.in 2021-09-23 19:13:59.592034687 +0000 -@@ -170,6 +170,7 @@ +Index: macros.in +=================================================================== +--- macros.in.orig ++++ macros.in +@@ -148,6 +148,7 @@ %{?_unique_debug_names:--unique-debug-suffix "-%{VERSION}-%{RELEASE}.%{_arch}"} \\\ %{?_unique_debug_srcs:--unique-debug-src-base "%{name}-%{VERSION}-%{RELEASE}.%{_arch}"} \\\ %{?_find_debuginfo_dwz_opts} \\\ @@ -8,7 +10,7 @@ %{?_find_debuginfo_opts} \\\ %{?_debugsource_packages:-S debugsourcefiles.list} \\\ "%{_builddir}/%{?buildsubdir}"\ -@@ -209,7 +210,8 @@ package or when debugging this package.\ +@@ -187,7 +188,8 @@ package or when debugging this package.\ %endif\ %{nil} @@ -18,7 +20,7 @@ %_defaultlicensedir %{_datadir}/licenses # Following macros for filtering auto deps must not be used in spec files. -@@ -269,7 +271,8 @@ package or when debugging this package.\ +@@ -247,7 +249,8 @@ package or when debugging this package.\ %_tmppath %{_var}/tmp # Path to top of build area. @@ -28,7 +30,7 @@ #============================================================================== # ---- Optional rpmrc macros. -@@ -371,7 +374,7 @@ package or when debugging this package.\ +@@ -349,7 +352,7 @@ package or when debugging this package.\ # "w.ufdio" uncompressed # #%_source_payload w9.gzdio @@ -37,7 +39,7 @@ # Algorithm to use for generating file checksum digests on build. # If not specified or 0, MD5 is used. -@@ -481,6 +484,19 @@ package or when debugging this package.\ +@@ -459,6 +462,19 @@ package or when debugging this package.\ # #%_include_minidebuginfo 1 @@ -57,7 +59,7 @@ # # Include a .gdb_index section in the .debug files. # Requires _enable_debug_packages and gdb-add-index installed. -@@ -513,7 +529,7 @@ package or when debugging this package.\ +@@ -491,39 +507,39 @@ package or when debugging this package.\ # Same as for "separate" but if the __debug_package global is set then # the -debuginfo package will have a compatibility link for the main # ELF /usr/lib/debug/.build-id/xx/yyy -> /usr/lib/.build-id/xx/yyy @@ -66,8 +68,33 @@ # Whether build-ids should be made unique between package version/releases # when generating debuginfo packages. If set to 1 this will pass -@@ -542,10 +558,10 @@ package or when debugging this package.\ - %_unique_debug_srcs 1 + # --build-id-seed "%{VERSION}-%{RELEASE}" to find-debuginfo.sh which will + # pass it onto debugedit --build-id-seed to be used to prime the build-id + # note hash. +-%_unique_build_ids 1 ++#%_unique_build_ids 1 + + # Do not recompute build-ids but keep whatever is in the ELF file already. + # Cannot be used together with _unique_build_ids (which forces recomputation). + # Defaults to undefined (unset). +-#%_no_recompute_build_ids 1 ++%_no_recompute_build_ids 1 + + # Whether .debug files should be made unique between package version, + # release and architecture. If set to 1 this will pass + # --unique-debug-suffix "-%{VERSION}-%{RELEASE}.%{_arch} find-debuginfo.sh + # to create debuginfo files which end in -<ver>-<rel>.<arch>.debug + # Requires _unique_build_ids. +-%_unique_debug_names 1 ++#%_unique_debug_names 1 + + # Whether the /usr/debug/src/<package> directories should be unique between + # package version, release and architecture. If set to 1 this will pass + # --unique-debug-src-base "%{name}-%{VERSION}-%{RELEASE}.%{_arch}" to + # find-debuginfo.sh to name the directory under /usr/debug/src as + # <name>-<ver>-<rel>.<arch>. +-%_unique_debug_srcs 1 ++#%_unique_debug_srcs 1 # Whether rpm should put debug source files into its own subpackage -#%_debugsource_packages 1 @@ -79,7 +106,7 @@ # # Use internal dependency generator rather than external helpers? -@@ -564,6 +584,7 @@ package or when debugging this package.\ +@@ -542,6 +558,7 @@ package or when debugging this package.\ %__find_requires %{_rpmconfigdir}/find-requires #%__find_conflicts ??? #%__find_obsoletes ??? @@ -87,7 +114,7 @@ # # Path to file attribute classifications for automatic dependency -@@ -948,7 +969,7 @@ package or when debugging this package.\ +@@ -926,7 +943,7 @@ package or when debugging this package.\ %_build_vendor %{_host_vendor} %_build_os %{_host_os} %_host @host@ @@ -96,7 +123,7 @@ %_host_cpu @host_cpu@ %_host_vendor @host_vendor@ %_host_os @host_os@ -@@ -1067,11 +1088,13 @@ package or when debugging this package.\ +@@ -1045,11 +1062,13 @@ package or when debugging this package.\ #------------------------------------------------------------------------------ # arch macro for all supported 32-bit ARM processors
