https://bugzilla.redhat.com/show_bug.cgi?id=848551

--- Comment #10 from Mario Blättermann <mario.blaetterm...@gmail.com> ---
(In reply to comment #9)
> > Add the following line to %files:
> > %doc AUTHORS COPYING NEWS README TODO
> 
> I believe it's not as simple as you think,
> because the upstream installation scripts don't install these files into the
> area that will be used as the base for packaging.
> 
> I added copy commands to %install that copy those files to
> %{_docdir}/%{name}/
> and added appropriate entries to %files
> 
Not needed at all. If you use that line as is, the %doc macro picks up the
appropriate files and puts them into the right folder automatically. In case of
that the install script from the tarball puts them anywhere else, just use the
%exclude macro in the file list to avoid installing duplicates.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to