Bug 168188 - Contents of /usr/X11R6/lib/X11/doc should be marked as documentation
Contents of /usr/X11R6/lib/X11/doc should be marked as documentation
Product: Fedora
Classification: Fedora
Component: xorg-x11 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-09-13 07:24 EDT by Albert Strasheim
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-13 19:01:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Albert Strasheim 2005-09-13 07:24:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

Description of problem:
The contents of /usr/X11R6/lib/X11/doc should be marked as documentation so that they can be excluded when installing with --excludedocs.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Mike A. Harris 2005-09-13 17:55:34 EDT
/usr/X11R6/lib/X11/doc/* is provided by the xorg-x11-doc subpackage.  That
subpackage contains nothing but documentation, so it makes no sense to install
the package and exclude the documentation, since you'd be installing nothing
that is in the package.

Don't install xorg-x11-doc subpackage if you don't want to have this
documentation installed.
Comment 2 Albert Strasheim 2005-09-13 18:13:01 EDT
On Fedora Core 4

find /usr/X11R6/lib/X11/doc -type f | xargs rpm -qf | sort | uniq



Have the files in /usr/X11R6/lib/X11/doc been moved to xorg-x11-doc in Rawhide?
Comment 3 Rahul Sundaram 2005-09-13 19:01:48 EDT

Yes. It is. Xorg is being modularised and split up into several packages. 



Comment 4 Mike A. Harris 2005-09-13 21:05:59 EDT
xorg-x11-doc, and XFree86-doc before it, has always had the X protocol
documentation in it.  The XFree86/xorg-x11 main package own the directory,
and do put some files into it as well.  Other packages might add files to
the dir too, I haven't checked.

FC4 is the last release of the OS which will ship the monolithic X11.
Starting with FC5, we will ship modularized X.Org.  That doesn't necessarily
change wether files get flagged with %doc or %docdir though.

The only way it makes sense to make a package that contains only documentation
work with --excludedocs, is if rpm will just not install a package if
--excludedocs would result in no files getting installed.

I don't want a package to get installed that didn't install any files, as
that seems senseless, and could create a support problem where someone
goes to look at X docs, finds they're not there, then goes to install
the docs, and rpm tells them the docs are already installed, then they
file a bug report.

So, if rpm refuses to install a package that is nothing bug docs which
are appropriately flagged, then it may make sense to add the flags (wether
we're using modular or monolithic tree is orthagonal).

RAWHIDE is not the correct resolution for this as rawhide is identical
to FC4, and it will likely be when modular goes in too.  The result is
either that there are changes we need to make which are feasible
(ASSIGNED), or there are changes we wont make. (WONTFIX)

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