aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-07-26 23:25:12 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-07-26 23:29:20 +0200
commite6db76472579a2535e888d6995c7f8bf1b184a09 (patch)
tree52b9acee71a65927b2a7304741e5f5e1e7f79a57
parent67b73183dba4f7818cecc2a2dc151885f75bfb7d (diff)
downloadrpm-setup-e6db76472579a2535e888d6995c7f8bf1b184a09.tar
rpm-setup-e6db76472579a2535e888d6995c7f8bf1b184a09.tar.gz
rpm-setup-e6db76472579a2535e888d6995c7f8bf1b184a09.tar.bz2
rpm-setup-e6db76472579a2535e888d6995c7f8bf1b184a09.tar.xz
rpm-setup-e6db76472579a2535e888d6995c7f8bf1b184a09.zip
support split debugsources in our macros
-rw-r--r--NEWS2
-rw-r--r--build.macros.in4
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8a173eb..bfea570 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- support split debugsources in our macros
+
Version 2.20 - 4 May 2016, by Neal Gompa
- Mark %make as deprecated for upstream %make_build
diff --git a/build.macros.in b/build.macros.in
index f7348de..65b17f9 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -304,7 +304,9 @@ fi
%{nil}
%__debug_install_post \
- @RPMLIBDIR@/find-debuginfo.sh %{?_find_debuginfo_dwz_opts} %{?_include_minidebuginfo:-m} "%{_builddir}/%{?buildsubdir}"\
+ @RPMLIBDIR@/find-debuginfo.sh %{?_find_debuginfo_dwz_opts} %{?_include_minidebuginfo:-m}\\\
+ %{?_debugsource_packages:-S "%{_builddir}/%{?buildsubdir}/debugsourcefiles.list"} \\\
+ "%{_builddir}/%{?buildsubdir}" \
%{nil}