teknoraver / rpms / rpm

Forked from rpms/rpm 3 months ago
Clone

Blame rpm-4.16.1.3-find_debuginfo_vendor_opts.patch

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