Makefile: Don't use tilde in rpm versions

The tilde is not a valid version character in RPM packages, according to
the RPM source code.

Change-type: patch
Signed-off-by: Juan Cruz Viotti <juan@resin.io>
This commit is contained in:
Juan Cruz Viotti 2018-09-24 16:42:14 +01:00
parent a338c6e60a
commit 49edd1a6dc
No known key found for this signature in database
GPG Key ID: D01B10083038B3E8

View File

@ -131,7 +131,7 @@ endif
APPLICATION_NAME_LOWERCASE = $(shell echo $(APPLICATION_NAME) | tr A-Z a-z)
APPLICATION_VERSION_DEBIAN = $(shell echo $(APPLICATION_VERSION) | tr "-" "~")
APPLICATION_VERSION_REDHAT = $(shell echo $(APPLICATION_VERSION) | tr "-" "~")
APPLICATION_VERSION_REDHAT = $(APPLICATION_VERSION)
# ---------------------------------------------------------------------
# Release type