[rpm macros] support old rpm macro location

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>