Deprecated List

Global addMacro (MacroContext mc, const char *n, const char *o, const char *b, int level)
  Use rpmDefineMacro().
File buildio.h
  this information will move elsewhere eventually.
Global doputenv (const char *str)
  Use setenv(3) instead.
Global dosetenv (const char *name, const char *value, int overwrite)
  Use setenv(3) instead.
Global expandMacros (void *spec, MacroContext mc, char *sbuf, size_t slen)
  Use rpmExpand().
Global rpm_machtable_e
  Eliminate from API.
Class Rpmdb

  Use mi = ts.dbMatch() (or db.match()) instead.

  Use hdr = mi.next() instead.

  Use mi = ts.dbMatch('basename') instead.

  Use mi = ts.dbMatch('name') instead.

  Use mi = ts.dbMmatch('providename') instead.

Global rpmInstallSourcePackage (rpmts ts, void *_fd, const char **specFilePtr, const char **cookie)
  This routine needs to DIE! DIE! DIE!.
Class rpmlead
  The lead (except for signature_type) is legacy.
Global rpmlogCode (void)
  Perl-RPM needs, what's really needed is predictable, non-i18n encumbered, error text that can be retrieved through rpmlogMessage() and parsed IMHO.
Global rpmSetTables (int archTable, int osTable)
  Use addMacro to set target* macros.
Global rpmShowProgress (const void *arg, const rpmCallbackType what, const rpmuint64_t amount, const rpmuint64_t total, fnpyKey key, void *data)
  Transaction callback arguments need to change, so don't rely on this routine in the rpmcli API.
Global RPMSIGTAG_LEMD5_1
  legacy.
Global RPMSIGTAG_LEMD5_2
  legacy.
Global RPMSIGTAG_PGP5
  legacy.
Global rpmtsAvailable (rpmts ts, const rpmds ds)
  This function will move from rpmlib to the python bindings.
Global rpmtsInitDB (rpmts ts, int dbmode)
  An explicit rpmdbInit() is almost never needed.
Global rpmVersionCompare (Header A, Header B)
  Use rpmdsCompare instead.