Bug 1305644

Summary: Incorrect renaming handling breaks python-rsa -> python2-rsa upgrades
Product: [Fedora] Fedora EPEL Reporter: Garrett Holmstrom <gholms>
Component: python-rsaAssignee: Yohan Graterol <yohangraterol92>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: fale, yohangraterol92
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rsa-3.3-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-28 20:53:59 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:

Description Garrett Holmstrom 2016-02-08 19:45:07 UTC
Description of problem:
The most recent update to python-rsa renamed packages to comply with Fedora's current naming guidelines, but did not handle the rename properly and broke upgrades as described here:

https://bodhi.fedoraproject.org/updates/python-rsa-3.3-3.el6#comment-386120


Version-Release number of selected component (if applicable):
python2-rsa-3.3-3.el6


How reproducible:
Always


Steps to Reproduce:
1. Install an old version of python-rsa
2. Run ``yum upgrade''


Actual results:
python-rsa does not upgrade to the new python2-rsa.


Additional info:
The affected version of the package currently contains the following statement:

    Provides: python-rsa

To handle the upgrade properly you need to add an Obsoletes statement to make yum treat it as an upgrade, and you also need to add a version to the Provides statement to ensure versioned package dependencies continue to be satisfied:

    Provides: python-rsa = %{version}-%{release}
    Obsoletes: python-rsa < 3.3-4

The documentation for that is here:  https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages

Comment 1 Fedora Update System 2016-02-09 10:41:38 UTC
python-rsa-3.3-5.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-68c802bce8

Comment 2 Fedora Update System 2016-02-10 17:20:28 UTC
python-rsa-3.3-5.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-68c802bce8

Comment 3 Fedora Update System 2016-02-28 20:53:56 UTC
python-rsa-3.3-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.