Bug 168188 - Contents of /usr/X11R6/lib/X11/doc should be marked as documentation
Summary: Contents of /usr/X11R6/lib/X11/doc should be marked as documentation
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-13 11:24 UTC by Albert Strasheim
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-13 23:01:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Albert Strasheim 2005-09-13 11:24:10 UTC
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):
xorg-x11-6.8.2-37.FC4.45

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  

Additional info:

Comment 1 Mike A. Harris 2005-09-13 21:55:34 UTC
/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 22:13:01 UTC
On Fedora Core 4

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

yields

xorg-x11-6.8.2-37.FC4.45

Have the files in /usr/X11R6/lib/X11/doc been moved to xorg-x11-doc in Rawhide?

Comment 3 Rahul Sundaram 2005-09-13 23:01:48 UTC

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

see

http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/



Comment 4 Mike A. Harris 2005-09-14 01:05:59 UTC
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.