On 05/12/2011 06:50 PM, Michael Schroeder wrote:
Hi, I get an method not permitted before handle's open method
when I do a 'rpm --verifydb'. In verify mode, the db is not
really opened, thus it's an error to call dbiFlags() which
calls db-get_open_flags().
Patch attached.
Applied, thanks for
On 05/12/2011 06:56 PM, Michael Schroeder wrote:
rpm --verify -prpm doesn't run verifyscripts since rpm-4.8.
For rpm-4.9 it segfaults.
The code fakes an TR_REMOVE TE, which works for installed
packages but fails if an rpm is given on the command line.
It segfaults in 4.9 because of the
On 05/12/2011 06:59 PM, Michael Schroeder wrote:
Hmm, I see that rpmdbAdd() et al have been removed in favor
of rpmts, but there don't seem to be equivalent functions.
How about rpmtsHeaderAddDB() and rpmtsHeaderRemoveDB()?
Patch attached.
Well, the point of removing rpmdbAdd() and
On Fri, May 13, 2011 at 04:00:59PM +0300, Panu Matilainen wrote:
On 05/12/2011 06:59 PM, Michael Schroeder wrote:
Hmm, I see that rpmdbAdd() et al have been removed in favor
of rpmts, but there don't seem to be equivalent functions.
How about rpmtsHeaderAddDB() and rpmtsHeaderRemoveDB()?
Hi,
rpm-4.9 will crash if the %prep section is empty, i.e. if
the specfile looks like:
%prep
%build
...
Patch (untested):
--- build/parsePrep.c.orig 2011-05-13 16:22:59.0 +
+++ build/parsePrep.c 2011-05-13 16:23:41.0 +
@@ -518,7 +518,7 @@ int parsePrep(rpmSpec