diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-12 19:03:07 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-12 19:04:17 +0200 |
commit | 24658b4d6a62c78a2b009c8903027d1198ad3508 (patch) | |
tree | b9229bb137cb2227157aa172a6fb1bcbfe23c090 | |
parent | 7945b5dede155a3cd41c017a2851422b6b836e88 (diff) | |
download | perl-URPM-24658b4d6a62c78a2b009c8903027d1198ad3508.tar perl-URPM-24658b4d6a62c78a2b009c8903027d1198ad3508.tar.gz perl-URPM-24658b4d6a62c78a2b009c8903027d1198ad3508.tar.bz2 perl-URPM-24658b4d6a62c78a2b009c8903027d1198ad3508.tar.xz perl-URPM-24658b4d6a62c78a2b009c8903027d1198ad3508.zip |
document pack_header()
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.pm | 12 |
2 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- enhanced doc + Version 4.30 - 1 May 2014 - fix 64k size limit on provides size that break installing 32 bit kernel for @@ -733,6 +733,18 @@ Just the obsoleted package name. =item $package->pack_header() +If a header is associated with the package, fill the package fields from +the header's tags (NEVRA, +requires/suggests/obsoletes/conflicts/provides/summary) +then free the header + +It's useful when traversing the rpm DB, if one wants to keep around a +package from the DB +else the info would not be available outside the traverse_*() function. + +It's also useful when creating a URPM_Package from a package file in +order to shrink memory footprint. + =item $package->packager() =item $package->payload_format() |