Bug 1028491 - RPM requirements with a version but no release show the release as "0"
Summary: RPM requirements with a version but no release show the release as "0"
Alias: None
Product: Pulp
Classification: Retired
Component: rpm-support
Version: Master
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
Depends On:
TreeView+ depends on / blocked
Reported: 2013-11-08 15:15 UTC by Michael Hrivnak
Modified: 2015-02-28 21:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-02-28 21:59:56 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Pulp Redmine 384 0 None None None Never

Description Michael Hrivnak 2013-11-08 15:15:04 UTC
Description of problem:

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

How reproducible:

Steps to Reproduce:
1. add an RPM (I'm using python-pulp-agent-lib-2.2.0-1) to a repo that has a requirement for a specific version of another package, but does not specify a release.
2. view rpm with: pulp-admin rpm repo content rpm 

Actual results:
Requires:     python(abi) = 2.6-0, python-pulp-common = 2.2.0-0

Expected results:
Requires:     python(abi) = 2.6-0, python-pulp-common = 2.2.0

For this particular package, the requirement can be seen here:

$ rpm -qp --requires python-pulp-agent-lib-2.2.0-1.el6.noarch.rpm
python(abi) = 2.6
python-pulp-common = 2.2.0
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 1 Chris Duryee 2014-11-12 02:57:35 UTC
This is still the case in pulp 2.4.3

$ pulp-admin rpm repo uploads rpm --repo-id test -f python-pulp-agent-lib-2.2.1-1.el6.noarch.rpm

<successful upload>

$ pulp-admin rpm repo content rpm --repo-id test
Arch:         noarch
Buildhost:    rhel6-builder
Checksum:     8a2039ab82be77885a7bc171c8bea429c4cddcc0ad344a5f4eec019b35fd1876
Checksumtype: sha256
Description:  A framework for loading agent handlers that provide support for
              content, bind and system specific operations.
Epoch:        0
Filename:     python-pulp-agent-lib-2.2.1-1.el6.noarch.rpm
License:      GPLv2
Name:         python-pulp-agent-lib
Provides:     python-pulp-agent-lib = 2.2.1-1.el6-0
Release:      1.el6
Requires:     python(abi) = 2.6-0, python-pulp-common = 2.2.1-0
Vendor:       None
Version:      2.2.1

Comment 2 Brian Bouterse 2015-02-28 21:59:56 UTC
Moved to https://pulp.plan.io/issues/384

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