--- /dev/null
+diff -ur rpm-4.16.0.orig/macros.in rpm-4.16.0/macros.in
+--- rpm-4.16.0.orig/macros.in 2020-09-30 09:48:01.000000000 +0200
++++ rpm-4.16.0/macros.in 2020-12-07 19:05:51.824516320 +0100
+@@ -531,7 +531,7 @@
+ # 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
+-%_build_id_links compat
++%_build_id_links alldebug
+
+ # Whether build-ids should be made unique between package version/releases
+ # when generating debuginfo packages. If set to 1 this will pass