Add a file in a package

Alain PORTAL aportal at univ-montp2.fr
Fri Dec 16 08:12:03 UTC 2005


Le Jeudi 15 Décembre 2005 16:49, Paul Howarth a écrit :
> Alain PORTAL wrote:
> > I need to add a "README.Fedora" file (as SOURCE1) in docdir.
> > How can I do that ?
>
> One way:
>
> Source1: README.Fedora
>
> %prep
> %setup ...
> # Copy README.Fedora into extracted tarball directory
> %{__cp} -p %{SOURCE1} .
>
> %files
> %defattr(...
> %doc README.Fedora

It was exactly what I want to do.
Thanks Paul

Yous sincerely
Alain.
-- 
Les pages de manuel Linux en français :
http://manpagesfr.free.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20051216/794944ab/attachment.sig>


More information about the fedora-extras-list mailing list