Bug 1019499

Summary: build artifact is shipped with katello-headpin rpm
Product: [Retired] Subscription Asset Manager Reporter: Chris Duryee <cduryee>
Component: katelloAssignee: Michael Stead <mstead>
Status: CLOSED WONTFIX QA Contact: SAM QE List <sam-qe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.4CC: cbillett, omaciel, sthirugn
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-20 14:46:44 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: 971511    

Description Chris Duryee 2013-10-15 21:15:30 UTC
Description of problem:

The file /usr/share/katello/locale/messages.mo is a build artifact and should be removed during %build.

Version-Release number of selected component (if applicable): 1.4.3.20-1, but occurs in older versions as well


How reproducible: every time


Steps to Reproduce:
1. do a build of the katello rpm and grab katello-headpin
2. rpm -qpl katello-headpin, note that /usr/share/katello/locale/messages.mo is in the manifest
3. rpm2cpio <rpm name> | cpio -idmv
4. cd usr/share/katello/locale
5. find -name "*.mo" | xargs md5sum | sort


Actual results:

messages.mo exists, and has the same md5sum as katello.mo for one of the languages. The last run of .mo file creation does not get its messages.mo file cleaned up after copying to the lang dir.


Expected results: messages.mo should not exist


Additional info: this was found by rpmdiff, the katello.mo files were built in a different order for some reason which caused messages.mo to have a different size.