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

2018-10-19 Thread Ankur Sinha
On Fri, Oct 19, 2018 10:16:48 +0200, Nicolas Mailhot wrote: > > > On 19.10.2018 00:28, Ankur Sinha wrote: > > > > > > I'm still at a loss to why this is so. Would someone be able to shed > > > some light on this please? > > That’s > https://github.com/rpm-software-management/rpm/issues/551 > >

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

2018-10-19 Thread Ankur Sinha
On Fri, Oct 19, 2018 00:52:51 +0200, Miro Hrončok wrote: > > > 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-

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

2018-10-19 Thread Nicolas Mailhot
> On 19.10.2018 00:28, Ankur Sinha wrote: > > > > I'm still at a loss to why this is so. Would someone be able to shed > > some light on this please? That’s https://github.com/rpm-software-management/rpm/issues/551 for bad old historical reasons the main directory rpmbuild works in is a side-ef

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

2018-10-18 Thread Miro Hrončok
On 19.10.2018 00:28, Ankur Sinha wrote: On Thu, Oct 18, 2018 23:11:56 +0100, Ankur Sinha wrote: https://github.com/sanjayankur31/rpm-specs/blob/libneurosim/libneurosim.spec However, when I flip that variable to enable py2 builds to 1: %global with_py2 1 the build fails with this error:

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

2018-10-18 Thread Ankur Sinha
On Thu, Oct 18, 2018 23:11:56 +0100, Ankur Sinha wrote: > > > https://github.com/sanjayankur31/rpm-specs/blob/libneurosim/libneurosim.spec > > However, when I flip that variable to enable py2 builds to 1: > > > %global with_py2 1 > > the build fails with this error: > > > error: Empty %files