On 08/10/2017 11:05 AM, Panu Matilainen wrote:
On 07/26/2017 03:37 AM, Mark Wielaard wrote:
The %_debugsource_template expects the debugsourcefiles.list file
to be in the (current) build dir. Make sure that is always the case
even if find-debuginfo.sh was invoked in a different (sub) directory
by adding the build dir path as explicit argument to -S.

Signed-off-by: Mark Wielaard <m...@klomp.org>
---
  macros.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/macros.in b/macros.in
index 8518228..147db83 100644
--- a/macros.in
+++ b/macros.in
@@ -185,7 +185,7 @@
%{?_unique_debug_srcs:--unique-debug-src-base "%{name}-%{VERSION}-%{RELEASE}.%{_arch}"} \\\
      %{?_find_debuginfo_dwz_opts} \\\
      %{?_find_debuginfo_opts} \\\
-    %{?_debugsource_packages:-S debugsourcefiles.list} \\\
+ %{?_debugsource_packages:-S "%{_builddir}/%{?buildsubdir}/debugsourcefiles.list"} \\\
      "%{_builddir}/%{?buildsubdir}"\
  %{nil}


This was in danger of falling through the cracks... applied, thanks.

...except this has apparently been fixed in a different manner already (commit 436b6ce0ddf33f90f8efd967f0457efce23bd71f), but nobody got around to say state it on the ml.

I've reverted this, sorry about the noise and confusion.

        - Panu -
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to