Bug 1019499 - build artifact is shipped with katello-headpin rpm
build artifact is shipped with katello-headpin rpm
Status: CLOSED WONTFIX
Product: Subscription Asset Manager
Classification: Red Hat
Component: katello (Show other bugs)
1.4
Unspecified Unspecified
unspecified Severity low
: rc
: ---
Assigned To: Michael Stead
SAM QE List
:
Depends On:
Blocks: sam20-tracker
  Show dependency treegraph
 
Reported: 2013-10-15 17:15 EDT by Chris Duryee
Modified: 2014-05-20 10:46 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-05-20 10:46:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Duryee 2013-10-15 17:15:30 EDT
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.