%doc question

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Tue Sep 13 10:19:07 UTC 2005


On Tue, 2005-09-13 at 11:08 +0100, Paul F. Johnson wrote:
> Hi,
> 
> I've just about got the z88dk rpm done and dusted, but am having a
> problem when it comes to the check rpmbuild performs at the end of the
> build.
> 
> I have the following in the spec file

> cp doc/*.txt ${RPM_BUILD_ROOT}%{_mandir}/z88dk

Why are you copying text files into a man page directory?

> %doc `pwd`/doc/*.txt

Remove "`pwd`/". %doc takes from the buildroot.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050913/39bf3c6e/attachment.sig>


More information about the fedora-extras-list mailing list