Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 835096

Summary: pm-utils rpm info speaks about Fedora
Product: Red Hat Enterprise Linux 5 Reporter: Jaroslav Škarvada <jskarvad>
Component: specspoAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.8CC: bgollahe, jnovy, lmiksik, pvine, rvokal, tpelka, vbenes
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: specspo-13-2.el5 Doc Type: Bug Fix
Doc Text:
Previously there was an wrong product name in pm-utils and specspo summary/description translations. This is fixed now.
Story Points: ---
Clone Of: 817421 Environment:
Last Closed: 2012-08-13 07:24:41 UTC Type: ---
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: 800630, 817421    
Bug Blocks:    
Attachments:
Description Flags
Proposed fix none

Description Jaroslav Škarvada 2012-06-25 14:21:28 UTC
+++ This bug was initially created as a clone of Bug #817421 +++

+++ This bug was initially created as a clone of Bug #800630 +++

+++ This bug was initially created as a clone of Bug #800454 +++

Description of problem:
I can see:
"Summary     : Power management utilities and scripts for Fedora"

when rpm -qi pm-utils

Version-Release number of selected component (if applicable):
pm-utils-1.4.1-12.el7.x86_64


Actual results:
Fedora

Expected results:
RHEL

Additional info:

--- Additional comment from jskarvad on 2012-03-06 15:25:42 CET ---

It seems this issue is there at least since rhel-5.

--- Additional comment from jskarvad on 2012-04-30 20:18:25 CEST ---


    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:
Fedora Core was mentioned in the description of the package. The description was updated to be more general.

--- Additional comment from errata-xmlrpc on 2012-04-30 20:33:10 CEST ---

Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHBA-2012:13180-01
http://errata.devel.redhat.com/errata/show/13180

--- Additional comment from jskarvad on 2012-04-30 20:58:13 CEST ---


    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Fedora Core was mentioned in the description of the package. The description was updated to be more general.+Fedora Core was mentioned in the description and summary of the package. The description and summary was updated to be more general.

--- Additional comment from mholec on 2012-06-21 17:35:39 CEST ---

I installed (rpm -i) pm-utils-0.99.3-14.el5 from Brew and removed old version (rpm -e). Specfile in src.rpm is correct, same as info in Brew, but installed package not. yum info and rpm -qi still contains "Fedora Core" in summary and description.

--- Additional comment from jskarvad on 2012-06-25 11:18:12 CEST ---

Strange, same with rpm -U. The desription in RPMs are wrong and different from Brew info and spec. It doesn't happen for mock builds, so probably some build system weirdness and the package will require rebuilt. It is 100% reproducible with scratch builds, no idea why this happen.

--- Additional comment from jskarvad on 2012-06-25 12:54:06 CEST ---

Hexview confirmed that there are correct data in the RPM package, seems like rpm (caching ?) issue, ccing jnovy. But the build seems to be OK.

--- Additional comment from jskarvad on 2012-06-25 16:17:55 CEST ---

I probably got it, the wrong text is in specspo internationalization package.

BTW not even the specspo content is wrong, also its own summary/description is wrong:
# rpm -qi specspo
Name        : specspo                      Relocations: (not relocatable)
Version     : 13                                Vendor: Red Hat, Inc.
Release     : 1.el5                         Build Date: Čt 30. listopad 2006, 21:58:17 CET
Install Date: Ne 17. červenec 2011, 23:14:27 CEST      Build Host: devel8.z900.redhat.com
Group       : Documentation                 Source RPM: specspo-13-1.el5.src.rpm
Size        : 20486218                         License: GPL
Signature   : DSA/SHA1, St 17. leden 2007, 21:38:56 CET, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : Fedora package descriptions, summaries, and groups.
Description :
The specspo package contains the portable object catalogues used to
internationalize Fedora packages.

Notice the word Fedora :)

Clonning to specspo.

Comment 6 Jaroslav Škarvada 2012-08-06 13:26:48 UTC
Created attachment 602517 [details]
Proposed fix

Also fixed several wrong msgids, that prevents the localization from working, e.g.:

without patch:
$ LANG=ca_FR.UTF-8 rpm -qi specspo
Name        : specspo                      Relocations: (not relocatable)
Version     : 13                                Vendor: Red Hat, Inc.
Release     : 1.el5                         Build Date: dj 30 nov 2006 15:58:17 EST
Install Date: dl 06 ago 2012 09:21:03 EDT      Build Host: devel8.z900.redhat.com
Group       : Documentation                 Source RPM: specspo-13-1.el5.src.rpm
Size        : 20486218                         License: GPL
Signature   : DSA/SHA1, dc 17 gen 2007 15:38:56 EST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : Fedora package descriptions, summaries, and groups.
Description :
The specspo package contains the portable object catalogues used to
internationalize Fedora packages.


with patch applied:
$ LANG=ca_FR.UTF-8 rpm -qi specspo
Name        : specspo                      Relocations: (not relocatable)
Version     : 13                                Vendor: (none)
Release     : 2.el5                         Build Date: dl 06 ago 2012 09:19:35 EDT
Install Date: dl 06 ago 2012 09:25:12 EDT      Build Host: yarda.brq.redhat.com
Group       : Documentation                 Source RPM: specspo-13-2.el5.src.rpm
Size        : 20476758                         License: GPL
Signature   : (none)
Summary     : Descripcions, resums i grups de paquets de Red Hat.
Description :
El paquet specspo conté el catàleg d'objectes portable usat per a
internacionalitzar els paquets de Red Hat.

Comment 10 Jaroslav Škarvada 2012-08-08 08:28:46 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:
Previously there was an wrong product name in pm-utils summary/description translations. This is fixed now.

Comment 11 Jaroslav Škarvada 2012-08-08 08:36:25 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Previously there was an wrong product name in pm-utils summary/description translations. This is fixed now.+Previously there was an wrong product name in pm-utils and specspo summary/description translations. This is fixed now.

Comment 15 errata-xmlrpc 2012-08-13 07:24:41 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/RHBA-2012-1159.html