When running "make rpm" on CentOS 6.5, it fails stating that the version (filename) contains illegal character, i.e. it only allows one dash ("-") in the name. By adding an extra filter to the creation of the VERSION variable this can be eliminated.
shell script:
sed -i -e "s/(^VERSION =.))/\1 | tr - \~)/" ./Makefile
result in the file, note the extra pipeing to tr at the end:
VERSION = $$(echo $(GIT_DESC) | sed s/^$(GIT_LAST_TAG)/$(GIT_PKG_TAG)/ | tr - ~)
This may not be the prettiest solution but it works to eliminate this bug.
When running "make rpm" on CentOS 6.5, it fails stating that the version (filename) contains illegal character, i.e. it only allows one dash ("-") in the name. By adding an extra filter to the creation of the VERSION variable this can be eliminated.
This may not be the prettiest solution but it works to eliminate this bug.