bdist_rpm fails in 1.0.1 - version names with hyphens are not compatible with rpm specs
|Reported by:||Tome Cvitan||Owned by:||Malcolm Tredinnick|
|Severity:||Keywords:||rpm, bdist_rpm, setup|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The rpm spec does not allow for version names with hyphens. When running setup.py bdist_rpm the setuptools modify the 1.0.1-final version in setup.py to 1.0.1_final in the specs file. This leads to the script searching for a non existing file when trying to run rpmbuild.
The workaround is to change setup.py to replace spaces in the version string with underscore instead of hyphen, or just '1.0.1', but that is hardly a permanent solution.
Change History (12)
comment:6 Changed 8 years ago by
|Owner:||changed from nobody to Malcolm Tredinnick|
|Status:||new → assigned|