On Fri, Oct 19, 2018 00:52:51 +0200, Miro Hrončok wrote:
><snip>
> 
> The debugsourcefiles.list is constructed from files in the current folder
> the build is in. In your case, that's the %{name}-%{commit} folder from
> %autosetup.
> 
> Anything you create outside that folder is not included.

Ah, right---I suspected it was something of this sort but wasn't able to
find any docs to confirm.

> You do this:
> 
>   cd ../
>   ...
>   cp -a %{name}-%{commit} %{name}-%{commit}-py2
> 
> 
> And ../%{name}-%{commit}-py2 is not included.
> 
> If you really need to do this, create those as subfolders:
> 
>   %autosetup -c -n %{name}-%{commit}
>   cp -a %{name}-%{commit} %{name}-%{commit}-py2
>   ..
> 
> Note the -c and the lack of cd ../.
> 

That is *much* cleaner. I'll use this and see how it goes. Thanks.

-- 
Thanks,
Regards,

Ankur Sinha "FranciscoD"

https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to