diff options
Diffstat (limited to 'Perl-RPM')
-rw-r--r-- | Perl-RPM/ChangeLog | 19 | ||||
-rw-r--r-- | Perl-RPM/README | 18 |
2 files changed, 32 insertions, 5 deletions
diff --git a/Perl-RPM/ChangeLog b/Perl-RPM/ChangeLog index ff7ff3632..9b2d59689 100644 --- a/Perl-RPM/ChangeLog +++ b/Perl-RPM/ChangeLog @@ -83,7 +83,7 @@ Revision history for Perl extension RPM. Added a sample script in utils, called rpmprune. It has a --help summary and a man page, see those for details. -0.27 +0.27 Tue Aug 8 00:02:22 PDT 2000 - fifth alpha Added filenames() method to RPM::Header. This re-assembles the list of @@ -97,3 +97,20 @@ Revision history for Perl extension RPM. Added RPM/Error.xs and integrated into the build. All the XS code for RPM::Error that was previously in RPM.xs has been moved here. + + Added export of %RPM to RPM::Database. If requested, this is a hash + pre-tied to the RPM::Database package (and thus the rpm database). One + may also request $RPM and get an object referencing a tied hash. + + The return values from fetches on header objects has been completely + revised. Tags are now explicitly defined as scalar or list in nature. + The scalar_tag() method above is a part of this. The return value from + a scalar tag is now a plain scalar. There is no more need for $_->[0] + on scalar returns. Lists are still returned as list references, and + undef is still used to signify problems. Tests have been added to + t/02_headers.t for this, and tests in t/01_database.t were updated to + use the new syntax. This does not obsolete the RPM::Header::NVR method, + as that is a much faster means of fetching those three items than a + stock fetch of the three individual tags would be. + + More tags/values documented in RPM::Constants. diff --git a/Perl-RPM/README b/Perl-RPM/README index 85b19f416..078cc9f6b 100644 --- a/Perl-RPM/README +++ b/Perl-RPM/README @@ -1,6 +1,6 @@ Perl-RPM - Native bindings to the RPM Package Manager API for Perl -Version 0.26 (fourth alpha) +Version 0.27 (fifth alpha) WHAT IS IT @@ -42,9 +42,19 @@ Please send any reports of problems or bugs to rjray@blackperl.com. CHANGES -This is the fourth release. Full details are itemized in the ChangeLog file, -but the primary changes in this release are more effort on thread-safing the -extension, and a sample script in the utils/ directory. +This is the fifth release. Full details are itemized in the ChangeLog file, +but the primary changes in this release are: + +* More class-level functionality added in RPM::Header + +* A fundamental change to the way RPM::Header objects return data + +* Some default identifiers available for export from RPM::Database + +* Moved the XS code for RPM::Error from RPM.xs into a new file RPM/Error.xs + +* There is now a mailing list for Perl-RPM. For details, see: + https://listman.redhat.com/mailman/listinfo/perl-rpm-list LICENSE |