Bug 429752

Summary: rhm docs not installed in /usr/share/doc
Product: Red Hat Enterprise MRG Reporter: Alan Conway <aconway>
Component: Messaging_Installation_and_Configuration_GuideAssignee: Nuno Santos <nsantos>
Status: CLOSED CURRENTRELEASE QA Contact: Kim van der Riet <kim.vdriet>
Severity: low Docs Contact:
Priority: urgent    
Version: betaCC: aortega, iboverma
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-21 15:47:24 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:

Description Alan Conway 2008-01-22 21:24:03 UTC
Description of problem:

> 2. The rhm docs were installed in /usr/share/rhm-docs-0.2 instead of
/usr/share/doc/rhm-docs-02. Was the missing "doc" directory intentional?
Version-Release number of selected component (if applicable):


Expected results:

rhm docs should go in /usr/share/doc/rhm-0.2. Also check other packages, e.g. I
think qpidc may be making the same mistake.

Additional info:

Comment 1 Nuno Santos 2008-01-22 22:36:13 UTC
Fixed for rhm-docs-0.2-8

Relevant bits from the specfile:

%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT/usr/share/doc/rhm-%{version}
cp -pr * $RPM_BUILD_ROOT/usr/share/doc/rhm-%{version}
# fix warnings about script permissions
find $RPM_BUILD_ROOT/usr/share/doc/rhm-%{version} -name '*.py' \
  -exec chmod +x {} \;

%files
%defattr(-,root,root,-)
%doc LICENSE.txt
/usr/share/doc/rhm-%{version}


Comment 2 Alan Conway 2008-01-29 14:35:03 UTC
Installed today

Version     : 0.2                               Vendor: Red Hat, Inc.
Release     : 13.el5                        Build Date: Thu 24 Jan 2008 05:44:50
PM EST

Only the LICENCE.txt file is under /usr/share/doc/rhm-docs-0.2  everything else
is still in /usr/share/rhm-docs-0.2

To be consistent with common practice we should put all the docs under
/usr/share/docs/rmh-0.2 (note no -docs in the directory name.)

Comment 3 Nuno Santos 2008-02-07 17:14:54 UTC
Alan: I had to roll back the changes in order to match documentation at the time.

I've re-included the patch above as of 0.2-14, all files should now be under
/usr/share/doc/rhm-0.2


Comment 4 Lana Brindley 2008-02-08 06:07:12 UTC
Messaging Tutorial has been updated to /usr/share/doc/rhm-0.2/

See: https://bugzilla.redhat.com/show_bug.cgi?id=431958