Red Hat Bugzilla – Bug 168188
Contents of /usr/X11R6/lib/X11/doc should be marked as documentation
Last modified: 2007-11-30 17:11:13 EST
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):
Steps to Reproduce:
/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
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?
Yes. It is. Xorg is being modularised and split up into several packages.
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)