[opensuse-packaging] %doc directive.
I found out that you can have a built source in a %doc directive, but the filename must be relative to where make built it not where make install put it. Also under suse if you put any file in the same directory that %doc puts files, perhaps by make install, then you will get a cpio error complaining about magic numbers. if you create one file via the %doc directive then all files in that directory must be via the %doc directive to avoid this cpio magic number error. Fedroa rpm seems to be more forgiving. The section on The %doc Directive in http://www.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html says that the %doc directive puts your files into a data base. Could someone tell me more about this database? I am building pdfs and putting them in %doc directives. debian has a database of pdf and other documentation that one must take care of. Does suse have something similar? -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
participants (1)
-
Paul Elliott