summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorSoonKyu Park <sk7.park@samsung.com>2015-12-07 10:25:50 +0900
committerSoonKyu Park <sk7.park@samsung.com>2015-12-07 10:25:50 +0900
commit9cf156d6583a9f9581000bb12ff047980ebcef03 (patch)
treee0ee6568dd28d3a9f67ef23d5f212d304701da7d /macros.in
parente7d047a09a00b7f9789dcc2c0a3b6c49d3b4b771 (diff)
downloadrpm-9cf156d6583a9f9581000bb12ff047980ebcef03.tar.gz
rpm-9cf156d6583a9f9581000bb12ff047980ebcef03.tar.bz2
rpm-9cf156d6583a9f9581000bb12ff047980ebcef03.zip
Change-Id: I3718510670465957e7048db6ed285bd8ed09a5dd
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index e285ce16a..a7cab871d 100644
--- a/macros.in
+++ b/macros.in
@@ -179,8 +179,12 @@
# A spec file can %%define _find_debuginfo_opts to pass options to
# the script. See the script for details.
#
+
+%_find_debuginfo_opts %{?_rpm_strip_disable:--strip-disable}
+%_find_debuginfo_strip_opts %{?_rpm_strip_option:\'--strip-option=%{_rpm_strip_option}\'}
+
%__debug_install_post \
- %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"\
+ %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} %{?_find_debuginfo_strip_opts} "%{_builddir}/%{?buildsubdir}"\
%{nil}
# Template for debug information sub-package.