Re: python3dist provides

2020-04-19 Thread Miro Hrončok
On 19. 04. 20 17:49, Miro Hrončok wrote: On 19. 04. 20 17:09, Miro Hrončok wrote: Anyway, now that I know what the immediate problem is, I'll try to work around it.  Regards, I'll send a PR shortly. Finishing the commit message...

Re: python3dist provides

2020-04-19 Thread Miro Hrončok
On 19. 04. 20 17:09, Miro Hrončok wrote: Anyway, now that I know what the immediate problem is, I'll try to work around it.  Regards, In this particular case the version is trying to be read from git, I recommend using %autosetup -S git and creating a %{version} tag in %prep. I'll send a PR 

Re: python3dist provides

2020-04-19 Thread Miro Hrončok
On 19. 04. 20 16:39, Jerry James wrote: On Sun, Apr 19, 2020 at 2:11 AM Miro Hrončok wrote: Correction, this is valid: https://www.python.org/dev/peps/pep-0440/#local-version-identifiers But in this package case, we don't want version 0, so valid, but wrong. Followup on the generator

Redesigning the %python_provide macro from scratch

2020-04-19 Thread Miro Hrončok
Hello Python packagers. After touching the %python_provide topic in: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/SSJLPWSGFGPYRSHXQZDR7JNQXSDGGX3Z/ I have realized several things I don't like about %python_provide: 1) It must be used conditionally

Re: python3dist provides

2020-04-19 Thread Miro Hrončok
On 19. 04. 20 10:05, Miro Hrončok wrote: On 19. 04. 20 9:51, Miro Hrončok wrote: On 19. 04. 20 2:16, Jerry James wrote: What generates the python3dist(module) provides?  I ask because I did a build of python-nb2plots today for which those provides were not generated:

Re: python3dist provides

2020-04-19 Thread Miro Hrončok
On 19. 04. 20 9:51, Miro Hrončok wrote: On 19. 04. 20 2:16, Jerry James wrote: What generates the python3dist(module) provides?  I ask because I did a build of python-nb2plots today for which those provides were not generated: https://koji.fedoraproject.org/koji/buildinfo?buildID=1495361 even