[rpm] Fixed some packaging problems