Fixed if-fi logic is spec file

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