anchor.diff:  ${libdir}/python2.7/site-packages/rpm/.debug/* \
   "
   FILES_${PN}-dev += "${libdir}/python2.7/site-packages/rpm/*.la"
  -FILES_python-${PN} = "${libdir}/python2.7/site-packages/rpm/*"
  -RDEPENDS_python-${PN} = "${PN} python"
  -BBCLASSEXTEND = "native"
  +FILES_python-rpm = "${libdir}/python2.7/site-packages/rpm/*"
  +RDEPENDS_python-rpm = "${PN} python"
  +BBCLASSEXTEND = "native nativesdk"
   
   #
   # To build from debian (jessie) source code
  
positive.code: pkg_postrm_${PN}() {
  	[ "x\$D" == "x" ] && ldconfig
  }
  
  PACKAGES += "python-${PN}"
  PROVIDES += "python-rpm"
  FILES_${PN} += "${libdir}/rpm \
  ${libdir}/rpm-plugins/exec.so \
  
negative.code: file://fix_libdir.patch \                                               
  file://rpm-scriptetexechelp.patch \ 
  "
  
  EXTRA_OEMAKE += " LIBTOOL=${HOST_SYS}-libtool"
  
  # Autoreconf breaks with
  # gnu-configize: `configure.ac' or `configure.in' is required
  