Bug 1295693 - nothing provides python-pyasn1-modules
nothing provides python-pyasn1-modules
Product: Fedora
Classification: Fedora
Component: python-pyasn1 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Rob Crittenden
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-01-05 04:36 EST by Petr Vobornik
Modified: 2016-01-05 10:26 EST (History)
6 users (show)

See Also:
Fixed In Version: python-pyasn1-0.1.9-4.fc24
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-01-05 10:26:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Spec patch fixing the provides (1.37 KB, patch)
2016-01-05 05:48 EST, Martin Kosek
no flags Details | Diff

  None (edit)
Description Petr Vobornik 2016-01-05 04:36:27 EST
Description of problem:
python-pyasn1 package was updated yesterday[1]. The update changed package names to:


[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=708994

Following dependencies of python ldap needs to be updated:
  Requires: python-pyasn1, python-pyasn1-modules

Version-Release number of selected component (if applicable):
Comment 1 Petr Viktorin 2016-01-05 05:23:25 EST
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
Comment 2 Petr Spacek 2016-01-05 05:27:49 EST
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!
Comment 3 Martin Kosek 2016-01-05 05:47:29 EST
Right, I rather think python-pyasn1-modules is having wrong provides:


The macro is there, there is just a typo. Moving to python-pyasn1.
Comment 4 Martin Kosek 2016-01-05 05:48 EST
Created attachment 1111795 [details]
Spec patch fixing the provides

This one worked in my scratch build.
Comment 5 Rob Crittenden 2016-01-05 10:26:58 EST
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

Note You need to log in before you can comment on or make changes to this bug.