On Wed, May 11, 2005, Matthias Kurz wrote:
> Now, when there where a dedicated doc hierarchy, how could one forego the
> definition of %doc/%docdir in the %files-section at all ? I tried to set
> "DocDir: %{l_docdir}" in a .spec, but this did not work as expected.
This is handled in build/files.c in the rpm sources and there is this
in rpm.feature.patch in the openpkg package:
fl.docDirCount = 0;
+#if 0
fl.docDirs[fl.docDirCount++] = xstrdup("/usr/doc");
fl.docDirs[fl.docDirCount++] = xstrdup("/usr/man");
fl.docDirs[fl.docDirCount++] = xstrdup("/usr/info");
@@ -1981,6 +1982,7 @@
fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_docdir}", NULL);
fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_mandir}", NULL);
fl.docDirs[fl.docDirCount++] = rpmGetPath("%{_infodir}", NULL);
+#endif
I'm missing rse's voice, anyway.
(mk)
--
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]