Description of problem: Occured when trying to build SOIL-1.07-9.20080706.fc19: + cp -pr 'Simple /builddir/build/BUILDROOT/SOIL-1.07-9.20080706.fc19.x86_64/usr/share/doc/SOIL-1.07' cp: missing destination file operand after 'Simple /builddir/build/BUILDROOT/SOIL-1.07-9.20080706.fc19.x86_64/usr/share/doc/SOIL-1.07' Try 'cp --help' for more information. Version-Release number of selected component (if applicable): rpm-4.11.0.1-1.fc19 SOIL-1.07-9.20080706.fc19 How reproducible: always Steps to Reproduce: 1. fedpkg clone SOIL 2. git checkout e8b1fb7 3. rpmbuild --define '_sourcedir /home/julas/cvs/fedora/SOIL' --define '_specdir /home/julas/cvs/fedora/SOIL' --define '_builddir /home/julas/cvs/fedora/SOIL' --define '_srcrpmdir /home/julas/cvs/fedora/SOIL' --define '_rpmdir /home/julas/cvs/fedora/SOIL' --define 'dist .fc19' --define 'fedora 19' --eval '%undefine rhel' --define 'fc19 1' --eval '%undefine fc18' --nodeps -bs /home/julas/cvs/fedora/SOIL/SOIL.spec 4. mock -r fedora-devel-x86_64 --resultdir /home/julas/cvs/fedora/SOIL/results_SOIL/1.07/9.20080706.fc19 --rebuild /home/julas/cvs/fedora/SOIL/SOIL-1.07-9.20080706.fc19.src.rpm Actual results: build fails Expected results: build succeeds Additional info: Bug 758824 was a similar problem, but it seems to be fixed now.
Spaces in %doc work fine if you a supported %files syntax: either double-quote the name, or use globs for the whitespaces Abd tes, the %doc behavior has changed a bit recently, but in this case the old behavior was not correct. More background on this can be found at http://lists.fedoraproject.org/pipermail/devel/2013-January/176565.html http://lists.fedoraproject.org/pipermail/devel/2013-February/178730.html http://rpm.org/ticket/858