Bug 1019499 - build artifact is shipped with katello-headpin rpm
Summary: build artifact is shipped with katello-headpin rpm
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Michael Stead
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: sam20-tracker
TreeView+ depends on / blocked
 
Reported: 2013-10-15 21:15 UTC by Chris Duryee
Modified: 2014-05-20 14:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-20 14:46:44 UTC
Embargoed:


Attachments (Terms of Use)

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.


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