Re: Quick question, sure it is a FAQ, need a pointer/clue on how to handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Circa 2004-01-22 10:35:48 -0500 dixit Joe Landman:

:   Doing some RPM building, and ran into something I am not sure how to
: handle.  Some portion of these packages are man pages.  In the %files
: section, I have them all listed.  
: 
:   The binary build works to the point of packaging, where I start to get
: complaints about missing man pages.   Specifically that it cannot find
: the files that exist in the tree named */man/man?/*.1 and related. 
: Looking in the tree, I found the man pages had been compressed, so the
: %files entries would be technically incorrect without appending a .gz at
: the end.

  [...]

: Any hints at what to do?  Do I need to fix the spec file?  Set an option
: or two?  I can provide the SPEC file, but don't want to spam the list
: with it.

Fix the %files listing in the spec file.  Generally, the easiest way to
capture man pages whether or not they're compressed is something like:

    %files
    ...
    /path/to/man/man?/*

Or, if you really wish to enumerate the man pages in the %files listing:

    %files
    ...
    /path/to/man/man1/*.1*
    /path/to/man/man5/*.5*
    ...

-- 
jim knoble  |  jmknoble@xxxxxxxxx  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
 .....................................................................
 :"The methods now being used to merchandise the political candidate :
 : as though he were a deodorant positively guarantee the electorate :
 : against ever hearing the truth about anything."   --Aldous Huxley :
 :...................................................................:

Attachment: pgp00024.pgp
Description: PGP signature


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux