| Summary: | nothing provides python-pyasn1-modules | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Vobornik <pvoborni> | ||||
| Component: | python-pyasn1 | Assignee: | Rob Crittenden <rcritten> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | mail, mkosek, pspacek, pviktori, rcritten, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-pyasn1-0.1.9-4.fc24 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-01-05 15:26:58 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Petr Vobornik
2016-01-05 09:36:27 UTC
The py2 package should have:
%{?python_provide:%python_provide python2-%{srcname}}
and the py3 one should have
%{?python_provide:%python_provide python3-%{srcname}}
This will make one of those (the py2 currently) provide python-%{srcname}.
Same for %{srcname}-modules.
Python packaging guidelines: https://fedoraproject.org/wiki/Packaging:Python
Rob, please fix python-pyasn1 package to conform to Python packaging guidelines. The alternative is to fix all other packages which is a lot more work. Thank you! Right, I rather think python-pyasn1-modules is having wrong provides: http://koji.fedoraproject.org/koji/rpminfo?rpmID=7157964 The macro is there, there is just a typo. Moving to python-pyasn1. Created attachment 1111795 [details]
Spec patch fixing the provides
This one worked in my scratch build.
Thanks Martin. Should be fixed now. $ rpm -qp --provides /home/rcrit/redhat/fedoragit/python-pyasn1/results_python-pyasn1/0.1.9/4.fc24/python2-pyasn1-0.1.9-4.fc24.noarch.rpm python-pyasn1 = 0.1.9-4.fc24 python-pyasn1(x86-64) = 0.1.9-4.fc24 python2-pyasn1 = 0.1.9-4.fc24 $ rpm -qp --provides /home/rcrit/redhat/fedoragit/python-pyasn1/results_python-pyasn1/0.1.9/4.fc24/python2-pyasn1-modules-0.1.9-4.fc24.noarch.rpm python-pyasn1-modules = 0.1.9-4.fc24 python-pyasn1-modules(x86-64) = 0.1.9-4.fc24 python2-pyasn1-modules = 0.1.9-4.fc24 |