teknoraver / rpms / rpm

Forked from rpms/rpm 3 months ago
Clone

Blame SOURCES/rpm-4.14.3-macroize-find-debuginfo-script-location.patch

686848
From 77007d68782b66f2d00d7b200516731246876dca Mon Sep 17 00:00:00 2001
686848
From: Panu Matilainen <pmatilai@redhat.com>
686848
Date: Thu, 27 May 2021 13:58:58 +0300
686848
Subject: [PATCH] Macroize find-debuginfo script location
686848
686848
Makes it easier to handle varying paths, mainly in preparation for the
686848
next step.
686848
686848
Backported for 4.14.3.
686848
---
686848
 macros.in | 4 +++-
686848
 1 file changed, 3 insertions(+), 1 deletion(-)
686848
686848
diff --git a/macros.in b/macros.in
686848
index a6069ee4d..be28a3b28 100644
686848
--- a/macros.in
686848
+++ b/macros.in
686848
@@ -82,6 +82,8 @@
686848
 %__remsh		%{__rsh}
686848
 %__strip		@__STRIP@
686848
 
686848
+%__find_debuginfo	%{_rpmconfigdir}/find-debuginfo.sh
686848
+
686848
 # XXX avoid failures if tools are not installed when rpm is built.
686848
 %__libtoolize		libtoolize
686848
 %__aclocal		aclocal
686848
@@ -177,7 +179,7 @@
686848
 #	the script.  See the script for details.
686848
 #
686848
 %__debug_install_post   \
686848
-    %{_rpmconfigdir}/find-debuginfo.sh \\\
686848
+    %{__find_debuginfo} \\\
686848
     %{?_smp_mflags} \\\
686848
     %{?_missing_build_ids_terminate_build:--strict-build-id} \\\
686848
     %{?_no_recompute_build_ids:-n} \\\
686848
-- 
686848
2.33.1
686848