anchor.diff:          oe_runconf
   }
   
  -do_install_append() {
  +do_install_append_class-native() {
   	mv ${D}/${base_bindir}/rpm ${D}/${bindir}/
  -	rmdir ${D}/${base_bindir}
  +	rmdir --ignore-fail-on-non-empty ${D}${base_bindir}
  +	# Correct links after moving rpm
  +	ln -sf rpm ${D}${bindir}/rpmquery
  +	ln -sf rpm ${D}${bindir}/rpmverify
  +
   	rm -f ${D}${prefix}/lib/*.la
   	rm -f ${D}${prefix}/lib/rpm-plugins/*.la
   	rm -f ${D}/${libdir}/python%{with_python_version}/site-packages/*.{a,la}
  
positive.code: 	install -m 0755 ${WORKDIR}/pythondeps.sh ${D}/${libdir}/rpm/pythondeps.sh
  }
  
  pkg_postinst_${PN}() {
  	[ "x\$D" == "x" ] && ldconfig
  	test -f ${localstatedir}/lib/rpm/Packages || rpm --initdb
  
negative.code: # base branch: master
  #
  
  PR = "r1"
  
  inherit debian-package
  
  