Michael Schröder
765802d7a0
- dropped support for berkeley db - archive unpacking failures no longer leave garbage - unified built-in and user-define macro syntax and calling conventions - python generators and debuginfo extraction has been split into a separate upstream project - support for ed25519 signatures - easier rpm macro access in lua - new patches: * python-rpm-packaging.diff - modified patches: * usr-lib-sysimage-rpm.patch * localetag.diff * brp.diff * findlang.diff * macrosin.diff * rpmqpack.diff * build.diff * whatrequires-doc.diff * remove-brp-strips.diff * fileattrs.diff * langnoc.diff * find-lang-qt-qm.patch * findsupplements.diff * finddebuginfo.diff * finddebuginfo-absolute-links.diff * debugsubpkg.diff * debuglink.diff * debuginfo-mono.patch - dropped patches: OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=584
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
--- ./scripts/find-debuginfo.in.orig 2021-09-23 20:25:41.059184871 +0000
|
|
+++ ./scripts/find-debuginfo.in 2021-09-23 20:26:40.363063418 +0000
|
|
@@ -643,19 +643,25 @@ if $run_dwz \
|
|
fi
|
|
fi
|
|
|
|
-# For each symlink whose target has a .debug file,
|
|
-# make a .debug symlink to that file.
|
|
-find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*" -type l -print |
|
|
-while read f
|
|
-do
|
|
- t=$(readlink -m "$f").debug
|
|
- f=${f#$RPM_BUILD_ROOT}
|
|
- t=${t#$RPM_BUILD_ROOT}
|
|
- if [ -f "$debugdir$t" ]; then
|
|
- echo "symlinked /usr/lib/debug$t to /usr/lib/debug${f}.debug"
|
|
- debug_link "/usr/lib/debug$t" "${f}.debug"
|
|
- fi
|
|
-done
|
|
+# We used to make a .debug symlink for each symlink whose target
|
|
+# has a .debug file to that file. This is not necessary because
|
|
+# the debuglink section contains only the destination of those links.
|
|
+# Creating those links anyway results in debuginfo packages for
|
|
+# devel packages just because of the .so symlinks in them.
|
|
+
|
|
+## For each symlink whose target has a .debug file,
|
|
+## make a .debug symlink to that file.
|
|
+#find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*" -type l -print |
|
|
+#while read f
|
|
+#do
|
|
+# t=$(readlink -m "$f").debug
|
|
+# f=${f#$RPM_BUILD_ROOT}
|
|
+# t=${t#$RPM_BUILD_ROOT}
|
|
+# if [ -f "$debugdir$t" ]; then
|
|
+# echo "symlinked /usr/lib/debug$t to /usr/lib/debug${f}.debug"
|
|
+# debug_link "/usr/lib/debug$t" "${f}.debug"
|
|
+# fi
|
|
+#done
|
|
|
|
if [ -s "$SOURCEFILE" ]; then
|
|
# See also debugedit invocation. Directories must match up.
|