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.