Commit Graph

3 Commits

Author SHA1 Message Date
Miro Hrončok eb50d8e147 Strip tildes from %version in %pypi_source by default, add tests 2020-05-20 14:32:59 +02:00
Miro Hrončok d0885c1ed6 Implement %pytest
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/XLPDSH362PJKMJCAYOXNJNV53Y66EF6B/
2020-05-20 13:42:16 +02:00
Miro Hrončok 80ede0c2a1 Backport simplified %py_provides
This is a smallest possible backport of https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/52

Notable simplifications:

- there is no Lua library
- %python_provide remains untouched and the logic is not shared with %py_provides
- there are no pythonXY-foo provides on Fedora < 33
2020-05-20 13:17:25 +02:00