Make native packaging tests compatible with RPM
Add RPM packaging tests