[Fedora-packaging] port opening and PATH modification in rpm spec file