Stop specialcasing packages with "py" in name on Fedora
Historically, we specialcased packages with "py" in name on Fedora, as they were named just "pypackagename", not "python-pypackagename". This is no longer true and all packages in Fedora have to be named in form "python-pypackagename" (unless they end with "-python", IIUC) [1]. pyp2rpm should reflect this change (e.g. pyp2rpm -n py
should yield python-py spec/name/...).
[1] https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Addon_Packages_.28python_modules.29
Comments (5)
-
-
- changed status to resolved
Stop specialcasing names which starts/ends with py Also handle packages named pythonXY-foo foo-pythonXY properly fixes
#23→ <<cset 66e7b57fb50b>>
-
Testers are needed and welcomed. :-)
-
- changed status to open
pyp2rpm now when generating (Build)Requires changes pytest into python-pytest and we have no such package in fedora pkgdb.
I reopen this again to track this.
I have basically two ideas how to deal with this; use list of most common pyfoo named packages already in fedora pkgdb and skip 'rpmizing' their names or wait until pyfoo packages will provide python-pyfoo.
-
Account Deleted - changed status to closed
This issue was migrated to https://github.com/fedora-python/pyp2rpm/issues/5.
- Log in to comment
I played with pyp2rpm naming.
I will try fix those too along with py specialcasing.