Commit Graph

3 Commits

Author SHA1 Message Date
Miro Hrončok
c3cafa3dd7 Strip tildes from %version in %pypi_source by default, add tests 2020-05-25 10:47:10 +02:00
Miro Hrončok
70fa6a9627 Implement %pytest
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/XLPDSH362PJKMJCAYOXNJNV53Y66EF6B/
2020-05-25 10:47:10 +02:00
Miro Hrončok
ead8ec025b 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-25 10:47:08 +02:00