Description of problem: I generate some documentation in spec file, which I intend to place it in -doc subpackage. I specify those files in %files doc and they appear there, but those files also appear in main package even when not mentioned in main %files section. Version-Release number of selected component (if applicable): rpm-build-4.11.2-2.fc20.x86_64 How reproducible: deterministic Steps to Reproduce: 1. rpmbuild --rebuild http://miroslav.suchy.cz/copr/copr-cli-1.30-1.git.0.9c51a84.fc20.src.rpm Actual results: $ rpm -qpl /home/msuchy/rpmbuild/RPMS/noarch/copr-cli-1.30-1.git.0.9c51a84.fc20.noarch.rpm |grep doc /usr/share/doc/copr-cli /usr/share/doc/copr-cli/LICENSE /usr/share/doc/copr-cli/README.rst /usr/share/doc/copr-cli/python-doc /usr/share/doc/copr-cli/python-doc/api-objects.txt /usr/share/doc/copr-cli/python-doc/class-tree.html /usr/share/doc/copr-cli/python-doc/copr_cli-module.html /usr/share/doc/copr-cli/python-doc/copr_cli-pysrc.html /usr/share/doc/copr-cli/python-doc/copr_cli.copr_exceptions-module.html /usr/share/doc/copr-cli/python-doc/copr_cli.copr_exceptions-pysrc.html /usr/share/doc/copr-cli/python-doc/copr_cli.copr_exceptions.CoprCliConfigException-class.html /usr/share/doc/copr-cli/python-doc/copr_cli.copr_exceptions.CoprCliException-class.html ... Expected results: $ rpm -qpl /home/msuchy/rpmbuild/RPMS/noarch/copr-cli-1.30-1.git.0.9c51a84.fc20.noarch.rpm |grep doc /usr/share/doc/copr-cli /usr/share/doc/copr-cli/LICENSE /usr/share/doc/copr-cli/README.rst And nothing else. Additional info: sochotnicky stated that he seen that on el6 (in Copr) as well.
(In reply to Miroslav Suchý from comment #0) > Additional info: > sochotnicky stated that he seen that on el6 (in Copr) as well. Small correction. What I meant is that I realized I had a bug in my spec files because el6 builds failed (unpackaged files) but f20/rawhide builds succeeded even though I didn't have proper %doc lines
*** This bug has been marked as a duplicate of bug 728959 ***