[Rpm-maint] [PATCH] Make sure that debugsourcefiles.list is generated in the build dir.

Panu Matilainen pmatilai at redhat.com
Thu Aug 10 08:05:12 UTC 2017


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 <mark at 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.

	- Panu -


More information about the Rpm-maint mailing list