Right now, ValueError exceptions thrown by RPM for invalid .spec files are not caught anywhere. They cause spectool to crash, and generate ABRT bug reports and FAF backtraces.
This PR adds simple exception handling for those uncaught ValueErrors.
Side note: There's a few improvements (e.g. autorelease support) and a few minor fixes for spectool in the main branch since the last release. Getting those into Fedora with a new release would be nice :)
Pull-Request has been merged by ngompa
Right now, ValueError exceptions thrown by RPM for invalid .spec files are not caught anywhere.
They cause spectool to crash, and generate ABRT bug reports and FAF backtraces.
This PR adds simple exception handling for those uncaught ValueErrors.