Bug 830624

Summary: [Patch] Make RHEL's version not embedded in client entitlement rpms
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Satoru SATOH <ssato>
Component: RHUAAssignee: mkovacik
Status: CLOSED ERRATA QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: high    
Version: 2.1CC: jslagle, kbidarka, sachua, sghai, tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Client entitlement RPMs filenames generated with rhui-manager contain "el6" which gives the impression that the RPMs are only built for RHEL 6 clients but the RPMs are actually built for both RHEL 5 and 6 clients. The abbreviation "el6" has been removed from the filenames for client entitlement RPMs to prevent the confusion.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-24 11:54:57 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:
Attachments:
Description Flags
made '%{dist}' not embedded in %{release} in client entitlement rpms' template
none
Verifying screen log none

Description Satoru SATOH 2012-06-11 03:22:04 UTC
Created attachment 590808 [details]
made '%{dist}' not embedded in %{release} in client entitlement rpms' template

Description of problem:

Client entitlement rpms generated with rhui-manager contain abbreviated 
RHEL's major version (%{dist}, "el6") in these names such as:

  rhui-client-entitlement-rhui-2.0-2.0-1.el6.noarch.rpm
                                         

This filename indicates that this rpm is built for RHEL 6 only
although it's for both RHEL 5 and 6 client guests.


IMHO, it should be better not adding '.el6' in rpm names simply.


Version-Release number of selected component (if applicable):
rh-rhui-tools-2.0.64-1.el6_2

Comment 1 James Slagle 2012-06-21 14:31:21 UTC
thanks for the patch. I've applied this to our cloude repo as commit 
9aa0c9b67a2c80f25038dd475c2b938e3161351a

Comment 2 mkovacik 2012-07-26 16:16:56 UTC
Created attachment 600551 [details]
Verifying screen log

Verified in version: RHEL-6.3-RHUI-2.1-20120719.0-Server-x86_64-DVD1.iso. See the attached screen log.

Comment 3 sachua 2012-08-15 03:07:56 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Client entitlement RPMs filenames generated with rhui-manager contain "el6" which gives the impression that the RPMs are only built for RHEL 6 clients but the RPMs are actually built for both RHEL 5 and 6 clients. The abbreviation "el6" has been removed from the filenames for client entitlement RPMs to prevent the confusion.

Comment 5 errata-xmlrpc 2012-08-24 11:54:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-1205.html