Created attachment 834301 [details] A sample .spec file Description of problem: The argument to the '%package' directive is not sanity checked. A space is rejected but almost anything else is accepted, including chars as ':' or '/'. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. rpmbuild -bb dummy.spec 2. 3. Actual results: Invalid rpm created. Expected results: An error. Additional info: Related bug: BZ 1039276
Fixed upstream now, in the sense that the same sanity check is applied to both main pkg name and sub-packages. Whether the existing sanity check is entirely sane is another topic :)
In rawhide now as of rpm >= 4.11.2
rpm-4.11.2-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rpm-4.11.2-1.fc20
rpm-4.11.2-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/rpm-4.11.2-1.fc19
rpm-4.11.2-1.fc20 works
rpm-4.11.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
rpm-4.11.2-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.