ipython anyone?

Ville Skyttä ville.skytta at iki.fi
Tue Mar 1 19:11:56 UTC 2005

On Tue, 2005-03-01 at 13:46 -0500, seth vidal wrote:

> 2. is %doc really a good idea for man pages?

rpmbuild marks them (as well as bunch of other files) automatically as
docs, assuming they're in the usual dirs.  The complete list of such
dirs from rpm's sources, build/files.c:

    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/doc");
    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/man");
    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/info");
    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/X11R6/man");
    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/doc");
    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/man");
    fl.docDirs[fl.docDirCount++] = xstrdup("/usr/share/info");
    fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_docdir}", NULL);
    fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_mandir}", NULL);
    fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_infodir}", NULL);
    fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_javadocdir}", NULL);

More information about the fedora-extras-list mailing list