On Tue, Feb 22, 2005, Matthias Kurz wrote:

[...]
> Well, the manpage of rpm (openpkg man rpm|less -r) tells me, that
> --includedocs is the default. I tried this option, nonetheless. No go.

I should have double checked this. Apparently --includedocs _does_ work
as expected. It is just no longer the default. I checked this with
subversion and with my dvd_rw-tools package.

Conclusion:
- OpenPKG defines only "additional" documentation as %doc. Manpages are
  handled like other "ordinary" files.
- Someone who wants to install "additional" documentation, has to give
  the option "--includedocs" to rpm.
  This behaviour can be changed by specifying "%_excludedocs 0" in
  $HOME/.rpmmacros.
- To find out what pieces of a package are flagged as "%doc" one can use
  the command "rpm -qd <pkg>" or "rpm -qdp <pkg>.rpm". Or just look into
  the .spec file.


  (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                   openpkg-dev@openpkg.org

Reply via email to