On Thu, 05 Sep 2013 14:11:16 -0400, James Antill wrote: > * %doc and %_pkgdocdir duplicate files and cause conflicts > https://fedorahosted.org/fpc/ticket/338 (abadger1999, 16:07:52) Spec files MUST NOT use both relative %doc in the %files sections and explicit installation of files into a %{_docdir} path, _if_ that results in _accidental_ inclusion of files in either the base package or in multiple packages. Example (Fedora 20 and newer): %files %doc COPYING ChangeLog README %files doc %{_docdir}/%{name}/ %doc in the base package %files list also includes everything in %{_docdir}/%{name}/ because that's the directory it creates. Example (Fedora 19 and older): %files %doc COPYING ChangeLog README %files doc %{_docdir}/%{name}-%{version/ %doc in the base package %files list also includes everything in %{_docdir}/%{name}-%{version}/ because that's the directory it creates. Note: For subpackages, the directory is derived from the subpackage name. -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging