Fix the RPM script and add a provisional ebuild