fix a bug in arch&ubuntu pre_install
experimental: rpm spec for Fedora >= 21