rpm  4.5
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 expandMacros (void *spec, MacroContext mc, char *sbuf, size_t slen)
Use rpmExpand().
Global headerFreeData (const void *data, rpmTagType type)
Use headerFreeTag() instead.
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 rpmErrorCode (void)
Perl-RPM needs, use rpmlogCode() instead.
Global rpmErrorSetCallback (rpmlogCallback cb)
gnorpm needs, use rpmlogSetCallback() instead.
Global rpmErrorString (void)
gnorpm needs, use rpmlogMessage() instead.
Global rpmGetArchInfo (const char **name, int *num)
Expand %{_host_cpu}/%{_target_cpu} for the canonical/current cpu. Return current arch name and/or number.
Global rpmGetOsInfo (const char **name, int *num)
Expand %{_host_os}/%{_target_os} for the canonical/current os. Return current os name and/or number.
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 rpmMachineScore (int type, const char *name)
Use rpmPlatformScore instead. Return arch/os score of a name. An arch/os score measures the "nearness" of a name to the currently running (or defined) platform arch/os. For example, the score of arch "i586" on an i686 platform is (usually) 2. The arch/os score is used to select one of several otherwise identical packages using the arch/os tags from the header as hints of the intended platform for the package.
Global rpmRcfiles
The rpmrc files are no longer parsed by default.
Global rpmSetMachine (const char *arch, const char *os)
Use addMacro to set target* macros.
Global rpmSetTables (int archTable, int osTable)
Use addMacro to set target* macros.
Global rpmSetVar (int var, const char *val)
Use rpmDefineMacro() to change appropriate macro instead.
Global rpmShowProgress (const void *arg, const rpmCallbackType what, const unsigned long long amount, const unsigned long long 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 first, Header second)
Use rpmdsCompare instead.