Description of problem:
The os_ver parameter provides the value for the "dist" value used to build a package. Presently, it defaults to ".el5", but can be overridden in the config file. This is counter-intuitive behaviour for anyone building RPMs on any OS other than Red Hat Enterprise Linux 5 or its clones. For example, it's not how rpmbuild behaves.
I think it's still useful to provide os_ver as a customizable value, for times when someone might want to build a package for an OS other than the one they're using, but the value should default to their own OS, the way that rpmbuild does.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Package a book on an OS other than Red Hat Enterprise Linux 5 or its clones; ensure that os_ver is not set in the config file.
Package NVR includes .el5
If no os_ver is set, package NVR should include the dist value for the OS on which the package was built.
Changed code so that if os_ver is not set then dist doesn't get supplied to rpmbuild, removed default os_ver value.
This means that without os_ver rpmbuild will use the OS the build is being run on.
Committed revision 1860.
Publican 2.7 has been release and includes a fix for this issue.