summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2021-05-27 13:58:58 +0300
committerPanu Matilainen <pmatilai@redhat.com>2021-06-21 12:52:39 +0300
commitce48167f37af59b6366083fb78a314f7931c0c6b (patch)
tree05920ced84ff0a503c75e3690fc69b61e3071797
parent072588ca7908ef894be4161066c9384edaadd748 (diff)
downloadrpm-ce48167f37af59b6366083fb78a314f7931c0c6b.tar.gz
Macroize find-debuginfo script location
Makes it easier to handle varying paths, mainly in preparation for the next step.
-rw-r--r--macros.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 3ce6131f0..a0cf1de43 100644
--- a/macros.in
+++ b/macros.in
@@ -68,6 +68,8 @@
%__objdump @__OBJDUMP@
%__strip @__STRIP@
+%__find_debuginfo %{_rpmconfigdir}/find-debuginfo.sh
+
#==============================================================================
# Conditional build stuff.
@@ -158,7 +160,7 @@
# the script. See the script for details.
#
%__debug_install_post \
- %{_rpmconfigdir}/find-debuginfo.sh \\\
+ %{__find_debuginfo} \\\
%{?_smp_build_ncpus:-j%{_smp_build_ncpus}} \\\
%{?_missing_build_ids_terminate_build:--strict-build-id} \\\
%{?_no_recompute_build_ids:-n} \\\