Description of problem: If %{_docdir}/%{name} is in the -doc package It's also packed in the main package without any warnings. Version-Release number of selected component (if applicable): rpm-4.11.1-7.fc20.x86_64 How reproducible: Try to add doc subpackage with doc files from %{buildroot} (for example generated pdf files). Actual results: %{_docdir}/%{name}/* are in main package and doc subpackage. Expected results: MUST be in doc subpackage only Additional info: For reference two packages built from the same spec file: http://mirror.yandex.ru/fedora/linux/releases/19/Everything/x86_64/os/Packages/a/aws-2.11.0-16.fc19.x86_64.rpm doesn't contain docs http://mirror.yandex.ru/fedora/linux/releases/20/Everything/x86_64/os/Packages/a/aws-2.11.0-17.fc20.x86_64.rpm contains ones
https://fedorahosted.org/fpc/ticket/338