%doc question

Paul Howarth paul at city-fan.org
Tue Sep 13 16:08:51 UTC 2005

Paul F. Johnson wrote:
> Hi,
>>>Is there a better place to put the manual files which aren't in manpage
>>Just include:
>>%doc doc/*.txt
>>in the %files list and it'll get handled by rpm properly.
> Thanks.
> I still need to do a lot of messing with this build as it automatically
> builds a devel version and normal version, plus the library files aren't
> standard Linux ones (the end in .asm, .def, .opt and a few other
> extensions - there are quite a number of them, so having
> %{_libdir}/*.lib
> while nice, doesn't work (can't glob it).
> Sooooo, the problem now is splitting the build to be devel and normal
> and finding a way to exclude the CVS directory and glob the lib files
> correctly.
> The .spec and src rpm is up on my website if people want to take a look
> http://www.all-the-johnsons.co.uk/emulation/downloads/z88dk.spec
> http://www.all-the-johnsons.co.uk/emulation/downloads/z88dk-1.6-1.src.rpm
> It will build, but rpmlint throws a wobbler at it.

Attached spec file fixes a number of rpmlint issues. All that's left are 
  complaints about header files not being in a -devel package. I don't 
think a -devel package is appropriate for this since development is the 
whole point of the main package, and the compiler (much like gcc, which 
also includes header files in the main package) is useless without them.

Resulting package builds OK in mock for rawhide on i386, but I've no 
idea if it actually works.

The files under /usr/lib/... are moved to /usr/share/... as suggested by 


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z88dk.spec
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050913/634381b9/attachment.ksh>

More information about the fedora-extras-list mailing list