packaging: setup: checking only x.y.z part of release version

Checking only x.y.z part of release version ignoring any suffix

Change-Id: I69bb4f8c401c8e3eead8249d50f91ae9771122b0
Bug-Url: https://bugzilla.redhat.com/1118360
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>