-# Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
-# libmagic also has sysroot path contamination, so override it
-
-#WRAPPER_TOOLS = " \
-# ${bindir}/rpm \
-# ${bindir}/rpm2archive \
-# ${bindir}/rpm2cpio \
-# ${bindir}/rpmbuild \
-# ${bindir}/rpmdb \
-# ${bindir}/rpmgraph \
-# ${bindir}/rpmkeys \
-# ${bindir}/rpmsign \
-# ${bindir}/rpmspec \
-# ${libdir}/rpm/rpmdeps \
-#"
-
-#do_install_append_class-native() {
-# for tool in ${WRAPPER_TOOLS}; do
-# create_wrapper ${D}$tool \
-# RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
-# RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
-# MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
-# RPM_NO_CHROOT_FOR_SCRIPTS=1
-# done
-#}
-
-#do_install_append_class-nativesdk() {
-# for tool in ${WRAPPER_TOOLS}; do
-# create_wrapper ${D}$tool \
-# RPM_CONFIGDIR='`dirname $''realpath`'/${@os.path.relpath(d.getVar('libdir'), d.getVar('bindir'))}/rpm \
-# RPM_ETCCONFIGDIR='$'{RPM_ETCCONFIGDIR-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('sysconfdir'), d.getVar('bindir'))}/..} \
-# MAGIC='`dirname $''realpath`'/${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))}/misc/magic.mgc \
-# RPM_NO_CHROOT_FOR_SCRIPTS=1
-# done
-#
-# rm -rf ${D}/var
-#}
-
-# Rpm's make install creates var/tmp which clashes with base-files packaging
-#do_install_append_class-target() {
-# rm -rf ${D}/var
-#}
-