On 19. 04. 20 16:39, Jerry James wrote:
On Sun, Apr 19, 2020 at 2:11 AM Miro Hrončok <mhron...@redhat.com> 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 problem:
https://github.com/rpm-software-management/rpm/issues/1183
- the traceback should say: Cannot process Python package version: 0+unknown
- the build should abort on errors
- the version is actually valid
Thanks for the detective work, Miro. I wish this upstream would just
release a new version.
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 shortly.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org