[Fedora-packaging] Manpages using %doc

Tom Callaway tcallawa at redhat.com
Wed May 16 13:57:13 UTC 2012


On 05/16/2012 08:12 AM, Tomas Radej wrote:
> Hi,
> 
> Is it possible for man pages to use the %doc macro in the %files section in a spec file? In Guidelines, there's no explicit mention of it, and I haven't found a package having this behavior. However, I am reviewing spacewalk-pylint ( https://bugzilla.redhat.com/show_bug.cgi?id=800899 ), which does this:
> 
> 	%files
> 	%doc %{_mandir}/man8/spacewalk-pylint.8*

RPM automagically marks everything in %{_mandir}/*/* as %doc, so there
is no need to do that.

~tom

==
Fedora Project


More information about the packaging mailing list