[rpm] register providers correctly

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