Bug 1280443

Summary: python-pkgwat-api: remove dependency on python-ordereddict
Product: [Fedora] Fedora EPEL Reporter: Carl George <carl>
Component: python-pkgwat-apiAssignee: Ralph Bean <rbean>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: rbean
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pkgwat-api-0.12-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-01 23:56:53 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1280439    

Description Carl George 2015-11-11 18:16:05 UTC
Description of problem:

In EL7 OrderedDict can be found in the collections module in the standard library.  Please change this package's requirements to not require python-ordereddict on EL7.

Version-Release number of selected component (if applicable):

0.12-3.el7

Suggested fix:

Change this:
> %if 0%{?rhel}
> BuildRequires:    python-ordereddict
> Requires:         python-ordereddict
> %endif
To this:
> %if 0%{?rhel} < 7
> BuildRequires:    python-ordereddict
> Requires:         python-ordereddict
> %endif

Comment 1 Carl George 2015-11-11 18:18:39 UTC
Or even better:
> %if 0%{?rhel} && 0%{?rhel} < 7
> BuildRequires:    python-ordereddict
> Requires:         python-ordereddict
> %endif

Comment 2 Fedora Update System 2015-11-12 20:22:22 UTC
python-pkgwat-api-0.12-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-0e64bc86d9

Comment 3 Carl George 2015-11-12 21:56:14 UTC
> %if 0%{?rhel} < 7

On Fedora, that will evaluate to "%if 0 < 7", so it will unnecessarily add the dependency.  Please change it to "%if 0%{?rhel} && 0%{?rhel} < 7".

Comment 5 Fedora Update System 2015-11-13 20:50:42 UTC
python-pkgwat-api-0.12-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update python-pkgwat-api'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-0e64bc86d9

Comment 6 Fedora Update System 2015-12-01 23:56:52 UTC
python-pkgwat-api-0.12-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.