> > 2) the /usr/man/$LANG/whatis file gets bzipped by spec-helper. The file
> > then isn't found by when packing up (the %files section contains an
> > other file).
> Yes, that is a known bug of current spec-helper.
> A special case for whatis files should be added; or maybe make the various
> man page viewers recognize a compressed whatis file.
the second option would be cool, however, you'd need to let makewhatis
output
compressed files too...
> > Solutions (??):
> > 1) let makewhatis run in %post (it already does, I let it run twice -->
> > stupid) and not during the package build.
> The idea by running it during package build was to create the file with
> a content; so rpm -V man-pages-xx wouldn't say the file content has changed
> when it hasn't.
You won't have this issue when it's not in the filelist.
> Maybe the makewhatis scripts can be modified to accept a variable telling
> where to put the temp file. and use that during %install time
That means changing that... <feel free to compress the file too ;-) >
> > 2) rm -rf /usr/man/$LANG/whatis and rmdir /usr/man/$LANG in the %postun.
> In the %preun instead; so during the uninstall the /usr/man/%{LANG}
> dir can be removed without yielding error messages
yup...
Stefan van der Eijk