Bug 1295693 - nothing provides python-pyasn1-modules
Summary: nothing provides python-pyasn1-modules
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pyasn1
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-05 09:36 UTC by Petr Vobornik
Modified: 2016-01-05 15:26 UTC (History)
6 users (show)

Fixed In Version: python-pyasn1-0.1.9-4.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-05 15:26:58 UTC
Type: Bug
Embargoed:


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

Description Petr Vobornik 2016-01-05 09:36:27 UTC
Description of problem:
python-pyasn1 package was updated yesterday[1]. The update changed package names to:

  python2-pyasn1-0.1.9-3.fc24.noarch.rpm
  python2-pyasn1-modules-0.1.9-3.fc24.noarch.rpm
  python3-pyasn1-0.1.9-3.fc24.noarch.rpm
  python3-pyasn1-modules-0.1.9-3.fc24.noarch.rpm 

[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):
python-ldap-2.4.17-2.fc23.x86_64

Comment 1 Petr Viktorin (pviktori) 2016-01-05 10:23:25 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

Comment 2 Petr Spacek 2016-01-05 10:27:49 UTC
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 10:47:29 UTC
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.

Comment 4 Martin Kosek 2016-01-05 10:48:38 UTC
Created attachment 1111795 [details]
Spec patch fixing the provides

This one worked in my scratch build.

Comment 5 Rob Crittenden 2016-01-05 15:26:58 UTC
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.