skip rpm check if no package
add pkg-config for debian
fixed merge