%doc path

Michael Schwendt mschwendt at gmail.com
Sat Apr 20 09:11:46 UTC 2013


On Sun, 14 Apr 2013 15:03:32 +0200, drago01 wrote:

> On Sun, Apr 14, 2013 at 2:25 PM, Eugene Pivnev wrote:
> > Sorry for stupid question - help me to find something like "doc must be in
> > %{_docdir}/%{name}-%{version}/ but not in %{_docdir}/%{name}/" in
> > guidelines.
> > Or there is no such limit?
> 
> http://fedoraproject.org/wiki/Packaging:Guidelines#Documentation
> 
> There is no such requirement in there.

Let's not forget that with older versions of RPM, using %doc at the
same time than installing files into %{_docdir}/%{name}-%{version}/
silently overwrote the installed files. Packagers had to work around
that with a local TMP dir to be included via %doc.

-- 
Fedora release 19 (Schrödinger’s Cat) - Linux 3.9.0-0.rc6.git2.3.fc19.x86_64
loadavg: 0.26 0.24 0.24


More information about the devel mailing list