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

Re: Including Documentation files in the SPEC file



Mark Amidon wrote:
> 
> Cameron Scott ICM N MC MI SI 6 wrote:
> > Why can't you do:
> > %description -f <path to documentation file>   ???
> 
> Just try querying an uninstalled .rpm file and see how far you get.
> 
> > You can include a files list - why not a document file for a description?
> 
> Because the contents of an .rpm file are compressed, so you couldn't
> read the internal description file without unpacking the fool thing.

Oh?
rpm -qp *.rpm --list
This will give you the filelist, even if it was created with %files -f.
It appears that the filelist is stored uncompressed in the rpm, judging
from a 'strings' output (Jeff, correct me if I'm wrong...)
 
> > Unless I'm missing something, I need now to update both the Description
> > Documents as well as the %description entry in the SPEC files.
> > I think it would be a good "feature" don't you?  :)
> 
> The Description Documents should have significantly more data than the
> few lines or paragraphs in the SPEC files.

But the few lines or paragraphs in the SPEC file would be handy to have
in a separate document or generated at build time.

I think the original poster's feature request is a reasonable one.

0 1, just my two bits.

Eli
--------------------.     Real Users find the one combination of bizarre
Eli Carter           \ input values that shuts down the system for days.
eli.carter(a)inet.com `-------------------------------------------------





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