updates for 0.25 version
authorrjray <devnull@localhost>
Mon, 5 Jun 2000 08:02:24 +0000 (08:02 +0000)
committerrjray <devnull@localhost>
Mon, 5 Jun 2000 08:02:24 +0000 (08:02 +0000)
CVS patchset: 3807
CVS date: 2000/06/05 08:02:24

Perl-RPM/ChangeLog
Perl-RPM/README

index 636cf0f..d06b47d 100644 (file)
@@ -36,3 +36,32 @@ Revision history for Perl extension RPM.
        Put in the start of thread-safing the module. But this part of the
        API is still pretty black in the Lockheed Skunkworks sense of the
        word, so it isn't at all complete.
+
+0.25   Mon Jun  5 00:54:59 PDT 2000
+       - third alpha
+
+       Fixes to the thread-safing code. When built against a 5.6.0 configured
+       for threading, several problems were found. All (current) tests now
+       pass on that configuration.
+
+       Added a file, IMPORTANT.perl, to the distribution that explains the
+       nature of a condition that can prevent the extension from working on
+       any version of Perl not installed from an rpm.
+
+       Still more trimming of tokens out of Constants.pm that are not of use
+       by the interface being provided. Filled in a few more in terms of
+       documentation.
+
+       Found a case in RPM::Header that would cause core-dumps: Any tags found
+       by the iterator that were not exported for the API by the rpm lib
+       could cause a null pointer to be passed through to an entry point that
+       was several lines past where I had normally checked for the null. This
+       meant that source RPMs would almost certainly break, since the
+       offending tags only showed up when I started testing against SRPMS.
+       Now, the iterators skip over these internal tags. The normal FETCH
+       method already tested for this, but the interators were sneaking past
+       those tests.
+
+       Added a method to the RPM::Header class, is_source(), that returns a
+       true value (1) if the header is associated with a source RPM.
+
index f6263ec..b30ea31 100644 (file)
@@ -1,6 +1,6 @@
 Perl-RPM - Native bindings to the RPM Package Manager API for Perl
 
-Version 0.2 (second alpha)
+Version 0.25 (third alpha)
 
 
 WHAT IS IT
@@ -16,6 +16,8 @@ least some of which are also available as tied-hash implementations.
 
 At this time, the interface only provides access to the database of installed
 packages, and header data retrieval for RPM and SRPM files not yet installed.
+Error management and the export of most defined constants, through RPM::Error
+and RPM::Constants respectively, is also available.
 
 
 BUILDING/INSTALLING
@@ -40,9 +42,9 @@ Please send any reports of problems or bugs to rjray@blackperl.com.
 
 CHANGES
 
-This is the second release. In addition to some bug fixes, this release adds
-some documentation, more test suites, and error management via the RPM::Error
-package.
+This is the third release. Full details are itemized in the ChangeLog file,
+but the primary change in this release is the location and correction of a
+bug in the RPM::Header code that could cause segmentation faults.
 
 
 LICENSE