[rpm] improvements in macros

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
macros in spec

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>