rpm: correct packaging of libraries

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