Stefan van der Eijk <[EMAIL PROTECTED]> writes:

> > > - compress man files befor filelists are made
> > did you see spec-helper ?, i know filelist do thing wrong, and you may
> > have to sed s|/usr/man/(.*)|/usr/man/\1*|; before %files.
> 
> hmmm... you've lost me here ;-)

filelists  are before spec-helper, so find will find :


/usr/man/man1/foo.1

in %install

but we launching after %install spec-helper who will compress foo.1 in
:

/usr/man/man1/foo.1.bz2

so the file list will refer to a wrong man pages. The best way is to :

perl -p -i -e the filelist
patch rpm to add the glob * for man pages.

-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
Pasadena, CA USA                                  --Chmouel

Reply via email to