69bb10
--- rpm.orig/macros.in	2022-06-30 11:37:18.975312592 +0100
69bb10
+++ rpm-4.16.1.3/macros.in	2022-06-30 11:37:43.145158323 +0100
69bb10
@@ -167,6 +167,9 @@
69bb10
 #	A spec file can %%define _find_debuginfo_opts to pass options to
69bb10
 #	the script.  See the script for details.
69bb10
 #
69bb10
+#	Vendor spec files (eg redhat-rpm-config:macros) can %%define
69bb10
+#       _find_debuginfo_vendor_opts to pass options to the script.
69bb10
+#
69bb10
 %__debug_install_post   \
69bb10
     %{_rpmconfigdir}/find-debuginfo.sh \\\
69bb10
     %{?_smp_build_ncpus:-j%{_smp_build_ncpus}} \\\
69bb10
@@ -179,6 +182,7 @@
69bb10
     %{?_unique_debug_srcs:--unique-debug-src-base "%{name}-%{VERSION}-%{RELEASE}.%{_arch}"} \\\
69bb10
     %{?_find_debuginfo_dwz_opts} \\\
69bb10
     %{?_find_debuginfo_opts} \\\
69bb10
+    %{?_find_debuginfo_vendor_opts} \\\
69bb10
     %{?_debugsource_packages:-S debugsourcefiles.list} \\\
69bb10
     "%{_builddir}/%{?buildsubdir}"\
69bb10
 %{nil}