On Fri, 15 Mar 2002 16:11:57 -0500
"Jim Knoble" <[EMAIL PROTECTED]> wrote:
> I can.  Versions of RPM later than v3.0.3 automagically compress man
> pages and info pages as part of the packaging process.  The secret has
> two parts:
(snip)
> The problem you're encountering is that the %files listing is being
> generated automatically, but *before* the brp-compress script is
> called.  Hence, the automatically-generated listing contains the
> uncompressed man page filenames, but by the time RPM gets around to
> actually making the package, the brp-compress script has compressed
> them right out from under you.
> 
> The best thing to do when generating automatic file lists is to call
> brp-compress *before* generating the list, 

Sweet explaination!  I've run into this problem with a few SRC RPM files
and now I finally know why!  The things you learn on the Blackbox list
never fail to amaze me.

Jamin W. Collins

Reply via email to