Re: Empty debugsources.list file in build when enabling py2 builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux